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


Author Topic: DO_BodyGuard LUA!!!!!  (Read 10338 times)

0 Members and 4 Guests are viewing this topic.

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
DO_BodyGuard LUA!!!!!
« on: April 11, 2013, 02:36:04 AM »
Hello guys..
I'll post Dropout Bodyguard LUA ..
if you want to download I'll be happy ..
because I'm doing this while sleepy .....
enjoyy ......

http://www.mediafire.com/?4xjtenj9c2fwnm7

This is a code
Code: [Select]
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("Bully: Scholarship Edition DO_BodyGuard.", 4, 1)
  Wait(5000)
  TextPrintString("By: ReiTA_HoPKInZ ", 4, 1)
  Wait(5000)
     
  l_0_3 = PedCreatePoint(91, POINTLIST._BEGGINING, 1) -- Edgar (Dropouts Leader)
  l_0_4 = PedCreatePoint(47, POINTLIST._BEGGINING, 1) -- Omar
l_0_5 = PedCreatePoint(46, POINTLIST._BEGGINING, 1) -- Gurney
l_0_6 = PedCreatePoint(45, POINTLIST._BEGGINING, 1) -- Henry
l_0_7 = PedCreatePoint(44, POINTLIST._BEGGINING, 1) -- Duncan
l_0_8 = PedCreatePoint(43, POINTLIST._BEGGINING, 1) -- Leon
l_0_9 = PedCreatePoint(41, POINTLIST._BEGGINING, 1) -- Jerry
l_1_0 = PedCreatePoint(42, POINTLIST._BEGGINING, 1) -- Otto
    PedSetActionTree(l_0_3, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act") -- Edgar (Dropouts Leader)
    PedSetActionTree(l_0_4, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act") -- Omar
        PedSetActionTree(l_0_5, "/Global/DO_Grappler_A", "Act/Anim/DO_Grappler_A.act") -- Gurney
        PedSetActionTree(l_0_6, "/Global/DO_Grappler_A", "Act/Anim/DO_Grappler_A.act") -- Henry
        PedSetActionTree(l_0_7, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act") -- Duncan
        PedSetActionTree(l_0_8, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act") -- Leon
        PedSetActionTree(l_0_9, "/Global/DO_Grappler_A", "Act/Anim/DO_Grappler_A.act") -- Jerry
        PedSetActionTree(l_1_0, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act") -- Otto                   
     
   -- 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)

   -- 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)

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

   -- 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)
   
   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)
   
  SoundPlayInteractiveStream("MS_TenementsHigh.rsm",MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_JockBossBattle.rsm",MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_FightingJohnnyVincentBossFight.rsm",MUSIC_DEFAULT_VOLUME)

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
   ;D ;D

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: DO_BodyGuard LUA!!!!!
« Reply #1 on: April 11, 2013, 04:18:58 AM »
Nice script.
Could use a better name or some more sauce, but it looks pretty delicious.
Good work :)

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #2 on: April 11, 2013, 04:20:01 AM »
Nice script.
Could use a better name or some more sauce, but it looks pretty delicious.
Good work :)

thanks.......

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #3 on: April 12, 2013, 12:28:21 AM »
Good job dude! Glad your getting the hang of using LUA :]


Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #4 on: April 12, 2013, 12:58:53 AM »
Good job dude! Glad your getting the hang of using LUA :]



thankss.....bro..... :D

Offline juggalo66692

  • MMFWCL WHOOP WHOOP
  • Full Member
  • ***
  • Posts: 181
  • Gender: Male
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #5 on: April 12, 2013, 04:05:40 AM »
just finished downloading ima go test it out for a lil bit

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #6 on: April 12, 2013, 02:16:54 PM »
Nicely done so far. Glad to see everyone enjoying working with lua as well as learning it.  8)

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #7 on: April 13, 2013, 01:39:33 AM »
Nicely done so far. Glad to see everyone enjoying working with lua as well as learning it.  8)
This is thanks to you @ [XF Madman AR], That Magazine,Work .. :D  :D :D

Offline juggalo66692

  • MMFWCL WHOOP WHOOP
  • Full Member
  • ***
  • Posts: 181
  • Gender: Male
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #8 on: April 13, 2013, 04:26:46 PM »
nice job man i cant wait to see more

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: DO_BodyGuard LUA!!!!!
« Reply #9 on: April 13, 2013, 05:22:59 PM »
nice job man i cant wait to see more

WHOOP WHOOP

Offline xXxNarumi

  • Apprehended (Captured)
  • Hero Member
  • ****
  • Posts: 2,641
  • Gender: Male
  • xNarumi wont be missed.
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #10 on: April 13, 2013, 05:23:40 PM »
nice job man i cant wait to see more

WHOOP WHOOP
THAT'S THE SOUND OF THE POLICEEEEE!

Offline juggalo66692

  • MMFWCL WHOOP WHOOP
  • Full Member
  • ***
  • Posts: 181
  • Gender: Male
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #11 on: April 13, 2013, 06:00:41 PM »
WHOOP WHOOP

Offline xXxNarumi

  • Apprehended (Captured)
  • Hero Member
  • ****
  • Posts: 2,641
  • Gender: Male
  • xNarumi wont be missed.
    • View Profile
Re: DO_BodyGuard LUA!!!!!
« Reply #12 on: April 13, 2013, 06:38:24 PM »
WHOOP WHOOP
THAT'S THE SOUND OF THEM COMING!!!!!

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: DO_BodyGuard LUA!!!!!
« Reply #13 on: July 03, 2013, 11:04:28 AM »
FUCK THA POLICE COMMIN STRAIGHT FROM THE UNDERGROUND!!!!!

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: DO_BodyGuard LUA!!!!!
« Reply #14 on: July 03, 2013, 11:04:52 AM »
sry  :)