News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Show Posts

Messages | * Topics | Attachments

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Phap

Pages: 1 2 [3]
32
LUA Scripting Help / Bodyguard engage
« on: June 26, 2013, 07:27:28 PM »
Hello, can someone tell me if there's a code that lets my bodyguard attack anyone they hate or anyone that attacks them because PedSetAllyAutoEngage only works if i'm around. Whenever I enter a trashcan, my bodyguards patrol the place, but doesn't engage by themself unless I exit the trashcan. Is there a code that allows that?

35
Modding Questions/Help Archives / Keys
« on: June 23, 2013, 08:14:53 PM »
These are the ones I know:
(0, 0) = left arrow
(1, 0) = right arrow
(14, 0) = X
(15, 0) = C
Anyone know more?

36
Modding Questions/Help Archives / G Melee A grapple
« on: June 23, 2013, 12:43:49 AM »
Hi, can anyone let me know what the knee to the stomach and punch in the face animation of Lefty/Vance called?

37
Modding Questions/Help Archives / Combination
« on: June 22, 2013, 03:50:41 PM »
Hi, can anyone let me know what the 6 punch combo's animation is called?

38
Mod Releases Archive / Bully Scholarship Edition Custom Mayhem
« on: June 18, 2013, 11:37:01 PM »
Video:
Coming soon
Download link:
http://www.mediafire.com/download/ske1o9ur3o15ogq

39
LUA Scripting Help / Lua codes not working?
« on: June 16, 2013, 01:17:37 PM »
I try to add these moves to my code but it doesn't work, the compiler says
luac: luascript.lua :89: 'end' expected <to close 'function' at line 7> near '<eof>'
This is my code:

GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")

  l_0_0 = 60

MissionSetup = function()
  local l_1_0 = 270
  local l_1_1 = -110
  local l_1_2 = 6.4000000953674
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  l_0_3 = PedCreatePoint(28, POINTLIST._BEGGINING, 1) -- Ricky
  l_0_4 = PedCreatePoint(26, POINTLIST._BEGGINING, 1) -- Lucky

   PedSetActionTree(gPlayer, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act")
   PedSetActionTree(l_0_3, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Ricky
   PedSetActionTree(l_0_4, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Lucky

   -- Ally Blip Code Start
   --
    l_2_7 = AddBlipForChar(l_0_3, 6, 2, 2)
    l_2_8 = AddBlipForChar(l_0_4, 6, 2, 2)

   -- Infinite Sprint Code Start for Allies
   --
    PedSetInfiniteSprint(l_0_3, true)
    PedSetInfiniteSprint(l_0_4, true)

   PedSetHealth(gPlayer, 10000)
        PedSetHealth(l_0_3, 10000)
        PedSetHealth(l_0_4, 10000)

   -- Ped Recruit Code Start
   --
    PedRecruitAlly(gPlayer, l_0_3)
    PedRecruitAlly(l_0_3, l_0_4)

   PedSetAllyAutoEngage(l_0_3, true)
   PedSetAllyAutoEngage(l_0_4, true)

  LoadAnimationGroup("Russell")
  LoadAnimationGroup("Boxing")
  LoadAnimationGroup("G_Johnny")

if IsButtonPressed(0, 0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")
elseif IsButtonPressed(1, 0) then
PedSetActionNode(gPlayer, "/Global/G_Johnny/Cinematic/ThroatGrab", "Act/Anim/G_Johnny.act")
elseif IsButtonPressed(14, 0) then
PedSetActionNode(gPlayer, "/Global/Offense/Medium/HeavyAttacks/StraightPunch", "Act/Anim/BOSS_Darby.act")

end


F_MissionSetup = function()
  UnLoadAnimationGroup("Russell")
  UnLoadAnimationGroup("Boxing")
  UnLoadAnimationGroup("G_Johnny")
  PlayerSetControl(1)
  CameraFollowPed(gPlayer)
  ClockSet(9, 30)
  ClockSetTickRate(0.0060000000521541)
  LaunchScript("SObjTest.lua")

end



MissionCleanup = function()
  ClearTextQueue()
  EnablePOI()
  gMissionRunning = false
  shared.gMissionEventFunction = nil
  WeatherRelease()
  PlayerSetControl(1)
  PlayerSetPunishmentPoints(0)
end



main = function()
  F_MissionSetup()
  gMissionRunning = true
  while gMissionRunning do
    UpdateTextQueue()
    Wait(0)
   end
end 

40
Mod Showroom Archives / Clique Fights
« on: June 13, 2013, 10:38:26 PM »

41
Mod Showroom Archives / Greasers and Preppies
« on: June 02, 2013, 06:11:07 PM »
Screenshot of the Greasers and Preppies working for Jimmy.

42
Modding Questions/Help Archives / Multiple Bodyguards With Bikes
« on: May 07, 2013, 07:29:43 PM »
Hi, I was wondering if there's a way to have mutiple bodyguards and whenever I use a bike, they look for a bike as well then follow me with it. Is there a way to do that? Thanks.

43
Modding Questions/Help Archives / Greasers Bodyguards
« on: April 05, 2013, 10:56:30 PM »
Can someone give me the code that lets Ricky, Lucky, Peanut, Lefty, Vance, Norton, and Hal to spawn as my bodyguards?

44
Requests Archive / Multiple Bodyguards
« on: November 04, 2012, 06:32:40 PM »
Can someone tell how to get 2 or more bodyguards in free roam? Like Ricky and Lucky.

Pages: 1 2 [3]