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


Author Topic: Can some give me the code for multibodyguard nerds  (Read 1737 times)

0 Members and 1 Guest are viewing this topic.

Offline perfectozzyozborne

  • -Bully_Forever-
  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • Hello, My name is Yes-Man,
    • View Profile
Can some give me the code for multibodyguard nerds
« on: May 30, 2013, 04:25:31 PM »
So I can have all nerds

Offline Phap

  • Full Member
  • ***
  • Posts: 216
  • Gender: Male
    • View Profile
Re: Can some give me the code for multibodyguard nerds
« Reply #1 on: May 30, 2013, 07:41:44 PM »
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)
  TextPrintString("Title here ", 4, 1)
  Wait(5000)
  TextPrintString("By: Your name here ", 4, 1)
  Wait(5000)

  l_0_3 = PedCreatePoint(10, POINTLIST._BEGGINING, 1) -- Earnest (BOSS)
  l_0_4 = PedCreatePoint(5, POINTLIST._BEGGINING, 1) -- Fatty
   l_0_5 = PedCreatePoint(6, POINTLIST._BEGGINING, 1) -- Melvin
   l_0_6 = PedCreatePoint(7, POINTLIST._BEGGINING, 1) -- Thad
   l_0_7 = PedCreatePoint(8, POINTLIST._BEGGINING, 1) -- Bucky
   l_0_8 = PedCreatePoint(9, POINTLIST._BEGGINING, 1) -- Cornelius
   l_0_9 = PedCreatePoint(4, POINTLIST._BEGGINING, 1) -- Algernon
   l_1_0 = PedCreatePoint(11, POINTLIST._BEGGINING, 1) -- Donald
   l_1_1 = PedCreatePoint(3, POINTLIST._BEGGINING, 1) -- Beatrice

   PedSetActionTree(l_0_3, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Earnest (BOSS)
   PedSetActionTree(l_0_4, "/Global/N_Striker_A", "Act/Anim/N_Striker_A.act") -- Fatty
   PedSetActionTree(l_0_5, "/Global/N_Striker_A", "Act/Anim/N_Striker_A.act") -- Melvin
   PedSetActionTree(l_0_6, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Thad
   PedSetActionTree(l_0_7, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Bucky
   PedSetActionTree(l_0_8, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Cornelius
   PedSetActionTree(l_0_9, "/Global/N_Striker_B", "Act/Anim/N_Striker_B.act") -- Algernon
   PedSetActionTree(l_1_0, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Donald
   PedSetActionTree(l_1_1, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Beatrice

   -- Ally Blip Code Start
   --
    l_2_7 = AddBlipForChar(l_0_3, 6, 2, 2)
    l_2_8 = AddBlipForChar(l_0_4, 6, 2, 2)
   l_2_9 = AddBlipForChar(l_0_5, 6, 2, 2)
   l_3_0 = AddBlipForChar(l_0_6, 6, 2, 2)
   l_3_1 = AddBlipForChar(l_0_7, 6, 2, 2)
   l_3_2 = AddBlipForChar(l_0_8, 6, 2, 2)
   l_3_3 = AddBlipForChar(l_0_9, 6, 2, 2)
   l_3_4 = AddBlipForChar(l_1_0, 6, 2, 2)
   l_3_5 = AddBlipForChar(l_1_1, 6, 2, 2)

   -- Infinite Sprint Code Start for Allies
   --
    PedSetInfiniteSprint(l_0_3, true)
    PedSetInfiniteSprint(l_0_4, true)
   PedSetInfiniteSprint(l_0_5, true)
   PedSetInfiniteSprint(l_0_6, true)
   PedSetInfiniteSprint(l_0_7, true)
   PedSetInfiniteSprint(l_0_8, true)
   PedSetInfiniteSprint(l_0_9, true)
   PedSetInfiniteSprint(l_1_0, true)
   PedSetInfiniteSprint(l_1_1, true)

        PedSetHealth(l_0_3, 10000)
   PedSetHealth(l_0_4, 10000)
        PedSetHealth(l_0_5, 10000)
   PedSetHealth(l_0_6, 10000)
        PedSetHealth(l_0_7, 10000)
   PedSetHealth(l_0_8, 10000)
        PedSetHealth(l_0_9, 10000)
   PedSetHealth(l_1_0, 10000)
        PedSetHealth(l_1_1, 10000)

   -- Ped Recruit Code Start
   --
    PedRecruitAlly(gPlayer, l_0_3)
    PedRecruitAlly(l_0_3, l_0_4)
   PedRecruitAlly(l_0_4, l_0_5)
   PedRecruitAlly(l_0_5, l_0_6)
   PedRecruitAlly(l_0_6, l_0_7)
   PedRecruitAlly(l_0_7, l_0_8)
   PedRecruitAlly(l_0_8, l_0_9)
   PedRecruitAlly(l_0_9, l_1_0)
   PedRecruitAlly(l_1_0, l_1_1)

   PedSetAllyAutoEngage(l_0_3, true)
   PedSetAllyAutoEngage(l_0_4, true)
   PedSetAllyAutoEngage(l_0_5, true)
   PedSetAllyAutoEngage(l_0_6, true)
   PedSetAllyAutoEngage(l_0_7, true)
   PedSetAllyAutoEngage(l_0_8, true)
   PedSetAllyAutoEngage(l_0_9, true)
   PedSetAllyAutoEngage(l_1_0, true)
   PedSetAllyAutoEngage(l_1_1, true)

end


F_MissionSetup = function()
  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 

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Can some give me the code for multibodyguard nerds
« Reply #2 on: May 31, 2013, 01:54:09 AM »
^I'd prefer PedCreateXYZ over PedCreatePoint, but this is still a spicy topic.
Good job!

Offline perfectozzyozborne

  • -Bully_Forever-
  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • Hello, My name is Yes-Man,
    • View Profile
Re: Can some give me the code for multibodyguard nerds
« Reply #3 on: May 31, 2013, 02:54:32 AM »
One bad thing, I did not use this code :( I used XF madmans I just edit the ID's and added a music player.