This is extremely outdated and I have to rescript it again but this is the source for my complete mission I know it's all scrambled and nonsense but I was kind of tired, up three o clock in the mornin I am laughing out loud at your hysterical statement!
MissionSetup = function()
AreaTransitionXYZ(0, 270, -110, 6.4000000953674)
Wait(200)
AreaTransitionXYZ(14,-502.2488, 318.8277, 31.4111)
ChapterSet(2)
PlayerSetHealth(4000)
local l_3_0 = 271.0682
local l_3_1 = -104.7788
local l_3_2 = 6.2910
local l_4_0 = 271.0682
local l_4_1 = -104.7788
local l_4_2 = 6.2910
local l_5_0 = 211.1745
local l_5_1 = -74.4785
local l_5_2 = 8.6105
SoundDisableSpeech_ActionTree()
AreaOverridePopulation(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
AreaClearAllPeds()
DisablePunishmentSystem(true)
AreaDisableAllPatrolPaths()
SoundPlayInteractiveStream("MS_RunningLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_RunningMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_SearchingHigh.rsm", MUSIC_DEFAULT_VOLUME)
DisablePunishmentSystem(false)
AreaSetDoorLocked(TRIGGER._DT_TPOOR_TENWINDOW, false)
PedSetUniqueModelStatus(146,-1)
PedSetUniqueModelStatus(145,-1)
PedSetUniqueModelStatus(85,-1)
PedSetUniqueModelStatus(99,-1)
PedSetUniqueModelStatus(147,-1)
PedSetUniqueModelStatus(102,-1)
PedSetUniqueModelStatus(134,-1)
PedSetUniqueModelStatus(39,-1)
PedSetUniqueModelStatus(75,-1)
Wait(3000)
TextPrintString("Meet Angie outside, she has some urgent news for you.", 3, 1)
Angie = PedCreateXYZ(39, l_3_0, l_3_1, l_3_2)
Blip600 = BlipAddXYZ(l_4_0, l_4_1, l_4_2,1)
SoundRemoveAllQueuedSpeech(Angie, true)
LoadAnimationGroup("1_02BYourSchool")
LoadAnimationGroup("1_02_MeetWithGary")
LoadAnimationGroup("1_03The Setup")
LoadAnimationGroup("1_04TheSlingshot")
LoadAnimationGroup("1_06ALittleHelp")
LoadAnimationGroup("1_07_SaveBucky")
LoadAnimationGroup("1_07_Sk8Board")
LoadAnimationGroup("1_08ThatBitch")
LoadAnimationGroup("1_08_MandPuke")
LoadAnimationGroup("1_09_Candidate")
LoadAnimationGroup("1_10Betrayal")
LoadAnimationGroup("1_11B_HeBigPrank")
LoadAnimationGroup("1_G1_TheDiary")
LoadAnimationGroup("1_S01HatVsGall")
LoadAnimationGroup("2_01LastMinuteShop")
LoadAnimationGroup("2_02ComicKlepto")
LoadAnimationGroup("2_05TadsHouse")
LoadAnimationGroup("2_06MovieTickets")
LoadAnimationGroup("2_07BeachRumble")
LoadAnimationGroup("2_08WeedKiller")
LoadAnimationGroup("2_4RichAreaRace")
LoadAnimationGroup("2_G2CarnivalDate")
LoadAnimationGroup("2_G2_GiftExchange")
LoadAnimationGroup("2_R03PaperRoute")
LoadAnimationGroup("2_S02CharSheets")
LoadAnimationGroup("2_S04CharSheets")
LoadAnimationGroup("2_S05_CooksCrush")
LoadAnimationGroup("2_S06PantyRaid")
LoadAnimationGroup("3_01JealousJohnny")
LoadAnimationGroup("3_04WrongPtTown")
LoadAnimationGroup("3_05TheTenements")
LoadAnimationGroup("3_BFightJohnnyV")
LoadAnimationGroup("3_G3")
LoadAnimationGroup("3_R05ChemicalDeliv")
LoadAnimationGroup("3_R08RaceLeague")
LoadAnimationGroup("3_S03CheatinTime")
LoadAnimationGroup("4_01Paparazzi")
LoadAnimationGroup("4_04_FunhouseFun")
LoadAnimationGroup("4_06BigGame")
LoadAnimationGroup("4_B2_JockBossBattle")
LoadAnimationGroup("5_01Grp")
LoadAnimationGroup("5_01Rats")
LoadAnimationGroup("5_02PrVandalized")
LoadAnimationGroup("5_05Zoe")
LoadAnimationGroup("5_09MakingAMark")
LoadAnimationGroup("6B_PARA")
LoadAnimationGroup("AGymLght")
LoadAnimationGroup("Ambient")
LoadAnimationGroup("Ambient2")
LoadAnimationGroup("Ambient3")
LoadAnimationGroup("ANIBBALL")
LoadAnimationGroup("AniBroom")
LoadAnimationGroup("AniDice")
LoadAnimationGroup("AniFooty")
LoadAnimationGroup("AniGlobe")
LoadAnimationGroup("AnimSave")
LoadAnimationGroup("AniPillo")
LoadAnimationGroup("ARC3D")
LoadAnimationGroup("Area_Asylum")
LoadAnimationGroup("Area_Funhouse")
LoadAnimationGroup("Area_GirlsDorm")
LoadAnimationGroup("Area_Infirmary")
LoadAnimationGroup("Area_School")
LoadAnimationGroup("Area_Tenements")
LoadAnimationGroup("Armor")
LoadAnimationGroup("AsyBars")
LoadAnimationGroup("AsyDoorB")
LoadAnimationGroup("AsyDoors")
LoadAnimationGroup("AsyGate")
LoadAnimationGroup("AsyLever")
LoadAnimationGroup("AsySwtch")
LoadAnimationGroup("AtcPlank")
LoadAnimationGroup("Authority")
LoadAnimationGroup("BANANA")
LoadAnimationGroup("barelLad")
LoadAnimationGroup("BarrGate")
LoadAnimationGroup("BATON")
LoadAnimationGroup("BBALL_21")
LoadAnimationGroup("bbgun")
LoadAnimationGroup("BCatcher")
LoadAnimationGroup("BdrDoorL")
LoadAnimationGroup("BeardLady")
LoadAnimationGroup("Bike")
LoadAnimationGroup("BikeGar")
LoadAnimationGroup("BoldRoll")
LoadAnimationGroup("BoltCutt")
LoadAnimationGroup("Boxing")
LoadAnimationGroup("BoxRopes")
LoadAnimationGroup("BRDoor")
LoadAnimationGroup("BrkSwtch")
LoadAnimationGroup("BROCKETL")
LoadAnimationGroup("BRSwitch")
LoadAnimationGroup("BusDoors")
LoadAnimationGroup("Butcher")
LoadAnimationGroup("BXPBag")
LoadAnimationGroup("B_Striker")
LoadAnimationGroup("CarnCurt")
LoadAnimationGroup("CARNI01")
LoadAnimationGroup("carnies")
LoadAnimationGroup("Car_Ham")
LoadAnimationGroup("Cavalier")
LoadAnimationGroup("Cheer_Cool1")
LoadAnimationGroup("Cheer_Cool2")
LoadAnimationGroup("Cheer_Cool3")
LoadAnimationGroup("Cheer_Gen1")
LoadAnimationGroup("Cheer_Gen2")
LoadAnimationGroup("Cheer_Gen3")
LoadAnimationGroup("Cheer_Girl1")
LoadAnimationGroup("Cheer_Girl2")
LoadAnimationGroup("Cheer_Girl3")
LoadAnimationGroup("Cheer_Girl4")
LoadAnimationGroup("Cheer_Nerd1")
LoadAnimationGroup("Cheer_Nerd2")
LoadAnimationGroup("Cheer_Nerd3")
LoadAnimationGroup("Cheer_Posh1")
LoadAnimationGroup("Cheer_Posh2")
LoadAnimationGroup("Cheer_Posh3")
LoadAnimationGroup("Chem_Set")
LoadAnimationGroup("ChLead_Idle")
LoadAnimationGroup("CLadderA")
LoadAnimationGroup("CnGate")
LoadAnimationGroup("Coaster")
LoadAnimationGroup("COPBIKE")
LoadAnimationGroup("Cop_Frisk")
LoadAnimationGroup("CV_Female")
LoadAnimationGroup("CV_Male")
LoadAnimationGroup("C_Wrestling")
LoadAnimationGroup("DartBrd")
LoadAnimationGroup("DartCab")
LoadAnimationGroup("DodgeBall")
LoadAnimationGroup("DodgeBall2")
LoadAnimationGroup("DoorStr1")
LoadAnimationGroup("DO_Edgar")
LoadAnimationGroup("DO_Grap")
LoadAnimationGroup("DO_StrikeCombo")
LoadAnimationGroup("DO_Striker")
LoadAnimationGroup("DRBrace")
LoadAnimationGroup("Drumming")
LoadAnimationGroup("DuffBag")
LoadAnimationGroup("DunkBttn")
LoadAnimationGroup("DunkSeat")
LoadAnimationGroup("Earnest")
LoadAnimationGroup("EnglishClass")
LoadAnimationGroup("ErrandCrab")
LoadAnimationGroup("Errand_BUS")
LoadAnimationGroup("Errand_IND")
LoadAnimationGroup("Errand_RIC")
LoadAnimationGroup("Errand_SCH")
LoadAnimationGroup("ESCDoorL")
LoadAnimationGroup("ESCDoorR")
LoadAnimationGroup("ExtWind")
LoadAnimationGroup("FDoor")
LoadAnimationGroup("FDoorB")
LoadAnimationGroup("FDoorC")
LoadAnimationGroup("Ferris")
LoadAnimationGroup("FGhost")
LoadAnimationGroup("FGoblin")
LoadAnimationGroup("FlagA")
LoadAnimationGroup("FLbBook")
LoadAnimationGroup("FlbLader")
LoadAnimationGroup("FLbPaint")
LoadAnimationGroup("FLbTable")
LoadAnimationGroup("FMCntrl")
LoadAnimationGroup("FMDoor")
LoadAnimationGroup("FMTrapDr")
LoadAnimationGroup("FMTrapSw")
LoadAnimationGroup("FortTell")
LoadAnimationGroup("funCart")
LoadAnimationGroup("funCurtn")
LoadAnimationGroup("funMiner")
LoadAnimationGroup("funRocks")
LoadAnimationGroup("FunTeeth")
LoadAnimationGroup("FXTestG")
LoadAnimationGroup("F_Adult")
LoadAnimationGroup("F_BULLY")
LoadAnimationGroup("F_Crazy")
LoadAnimationGroup("F_Douts")
LoadAnimationGroup("F_Girls")
LoadAnimationGroup("F_Greas")
LoadAnimationGroup("F_Jocks")
LoadAnimationGroup("F_Nerds")
LoadAnimationGroup("F_OldPeds")
LoadAnimationGroup("F_Pref")
LoadAnimationGroup("F_Preps")
LoadAnimationGroup("GarbCanA")
LoadAnimationGroup("GatCool")
LoadAnimationGroup("GEN_SOCIAL")
LoadAnimationGroup("Gfight")
LoadAnimationGroup("GhostDrs")
LoadAnimationGroup("Gift")
LoadAnimationGroup("Go_Cart")
LoadAnimationGroup("Grap")
LoadAnimationGroup("GymHoop")
LoadAnimationGroup("GymWLad")
LoadAnimationGroup("G_Grappler")
LoadAnimationGroup("G_Johnny")
LoadAnimationGroup("G_Striker")
LoadAnimationGroup("Halloween")
LoadAnimationGroup("HallWind")
LoadAnimationGroup("Hang_Jock")
LoadAnimationGroup("Hang_Moshing")
LoadAnimationGroup("Hang_Talking")
LoadAnimationGroup("Hang_Workout")
LoadAnimationGroup("Hobos")
LoadAnimationGroup("Hobo_Cheer")
LoadAnimationGroup("HSdinger")
LoadAnimationGroup("HUMIL_4-10_B")
LoadAnimationGroup("HUMIL_4-10_C")
LoadAnimationGroup("HUMIL_5-8F_A")
LoadAnimationGroup("HUMIL_5-8F_B")
LoadAnimationGroup("HUMIL_5-8V4-10")
LoadAnimationGroup("HUMIL_5-8V6-1")
LoadAnimationGroup("HUMIL_5-8VPLY")
LoadAnimationGroup("HUMIL_5-8_A")
LoadAnimationGroup("HUMIL_5-8_B")
LoadAnimationGroup("HUMIL_5-8_C")
LoadAnimationGroup("HUMIL_6-1V4-10")
LoadAnimationGroup("HUMIL_6-1V6-1")
LoadAnimationGroup("HUMIL_6-1VPLY")
LoadAnimationGroup("HUMIL_6-1_A")
LoadAnimationGroup("HUMIL_6-1_B")
LoadAnimationGroup("HUMIL_6-1_C")
LoadAnimationGroup("HUMIL_6-5V4-10")
LoadAnimationGroup("HUMIL_6-5V6-1")
LoadAnimationGroup("HUMIL_6-5VPLY")
LoadAnimationGroup("HUMIL_6-5_A")
LoadAnimationGroup("HUMIL_6-5_B")
LoadAnimationGroup("HUMIL_6-5_C")
LoadAnimationGroup("IDLE_AUTH_A")
LoadAnimationGroup("IDLE_AUTH_B")
LoadAnimationGroup("IDLE_AUTH_C")
LoadAnimationGroup("IDLE_AUTH_D")
LoadAnimationGroup("IDLE_BULLY_A")
LoadAnimationGroup("IDLE_BULLY_B")
LoadAnimationGroup("IDLE_BULLY_C")
LoadAnimationGroup("IDLE_BULLY_D")
LoadAnimationGroup("IDLE_CIVF_A")
LoadAnimationGroup("IDLE_CIVF_B")
LoadAnimationGroup("IDLE_CIVF_C")
LoadAnimationGroup("IDLE_CIVM_A")
LoadAnimationGroup("IDLE_CIVM_B")
LoadAnimationGroup("IDLE_CIVM_C")
LoadAnimationGroup("IDLE_DOUT_A")
LoadAnimationGroup("IDLE_DOUT_B")
LoadAnimationGroup("IDLE_DOUT_C")
LoadAnimationGroup("IDLE_DOUT_D")
LoadAnimationGroup("IDLE_FATG_A")
LoadAnimationGroup("IDLE_FATG_B")
LoadAnimationGroup("IDLE_FATG_C")
LoadAnimationGroup("IDLE_FAT_A")
LoadAnimationGroup("IDLE_FAT_B")
LoadAnimationGroup("IDLE_FAT_C")
LoadAnimationGroup("IDLE_GREAS_A")
LoadAnimationGroup("IDLE_GREAS_B")
LoadAnimationGroup("IDLE_GREAS_C")
LoadAnimationGroup("IDLE_GREAS_D")
LoadAnimationGroup("IDLE_GSF_A")
LoadAnimationGroup("IDLE_GSF_B")
LoadAnimationGroup("IDLE_GSF_C")
LoadAnimationGroup("IDLE_GSM_A")
LoadAnimationGroup("IDLE_GSM_B")
LoadAnimationGroup("IDLE_GSM_C")
LoadAnimationGroup("IDLE_JOCK_A")
LoadAnimationGroup("IDLE_JOCK_B")
LoadAnimationGroup("IDLE_JOCK_C")
LoadAnimationGroup("IDLE_JOCK_D")
LoadAnimationGroup("IDLE_NERD_A")
LoadAnimationGroup("IDLE_NERD_B")
LoadAnimationGroup("IDLE_NERD_C")
LoadAnimationGroup("IDLE_NERD_D")
LoadAnimationGroup("IDLE_NGIRL")
LoadAnimationGroup("IDLE_PREP_A")
LoadAnimationGroup("IDLE_PREP_B")
LoadAnimationGroup("IDLE_PREP_C")
LoadAnimationGroup("IDLE_PREP_D")
LoadAnimationGroup("IDLE_SEXY_A")
LoadAnimationGroup("IDLE_SEXY_B")
LoadAnimationGroup("IDLE_SEXY_C")
LoadAnimationGroup("INDgateC")
LoadAnimationGroup("JPhoto")
LoadAnimationGroup("JunkCarA")
LoadAnimationGroup("JV_Asylum")
LoadAnimationGroup("J_Damon")
LoadAnimationGroup("J_Grappler")
LoadAnimationGroup("J_Melee")
LoadAnimationGroup("J_Ranged")
LoadAnimationGroup("J_Striker")
LoadAnimationGroup("KISS1")
LoadAnimationGroup("KISS2")
LoadAnimationGroup("KISS3")
LoadAnimationGroup("KISS4")
LoadAnimationGroup("KissAdult")
LoadAnimationGroup("KISSB")
LoadAnimationGroup("KISSF")
LoadAnimationGroup("LckrGymA")
LoadAnimationGroup("LE_Officer")
LoadAnimationGroup("LE_Orderly")
LoadAnimationGroup("Mermaid")
LoadAnimationGroup("MG_Craps")
LoadAnimationGroup("MINIBIKE")
LoadAnimationGroup("MINICHEM")
LoadAnimationGroup("MINIDARTS")
LoadAnimationGroup("MINIDunk")
LoadAnimationGroup("MINIGraf")
LoadAnimationGroup("MINIHACKY")
LoadAnimationGroup("MINI_Arm")
LoadAnimationGroup("MINI_BallToss")
LoadAnimationGroup("MINI_Lock")
LoadAnimationGroup("MINI_React")
LoadAnimationGroup("Miracle")
LoadAnimationGroup("MOWER")
LoadAnimationGroup("MPostA")
LoadAnimationGroup("N2B Dishonerable")
LoadAnimationGroup("Nemesis")
LoadAnimationGroup("nerdBar1")
LoadAnimationGroup("NIS_0_00A")
LoadAnimationGroup("NIS_1_02")
LoadAnimationGroup("NIS_1_02B")
LoadAnimationGroup("NIS_1_03")
LoadAnimationGroup("NIS_1_04")
LoadAnimationGroup("NIS_1_05")
LoadAnimationGroup("NIS_1_07")
LoadAnimationGroup("NIS_1_08_1")
LoadAnimationGroup("NIS_1_09")
LoadAnimationGroup("NIS_1_11")
LoadAnimationGroup("NIS_2_01")
LoadAnimationGroup("NIS_2_03")
LoadAnimationGroup("NIS_2_04")
LoadAnimationGroup("NIS_2_06_1")
LoadAnimationGroup("NIS_2_B")
LoadAnimationGroup("NIS_2_S04")
LoadAnimationGroup("NIS_3_01")
LoadAnimationGroup("NIS_3_02")
LoadAnimationGroup("NIS_3_04")
LoadAnimationGroup("NIS_3_05")
LoadAnimationGroup("NIS_3_06")
LoadAnimationGroup("NIS_3_08")
LoadAnimationGroup("NIS_3_11")
LoadAnimationGroup("NIS_3_B")
LoadAnimationGroup("NIS_3_G3")
LoadAnimationGroup("NIS_3_R09_D")
LoadAnimationGroup("NIS_3_R09_G")
LoadAnimationGroup("NIS_3_R09_J")
LoadAnimationGroup("NIS_3_R09_N")
LoadAnimationGroup("NIS_3_R09_P")
LoadAnimationGroup("NIS_3_S03")
LoadAnimationGroup("NIS_3_S03_B")
LoadAnimationGroup("NIS_3_S11")
LoadAnimationGroup("NIS_4_01")
LoadAnimationGroup("NIS_4_05")
LoadAnimationGroup("NIS_4_06")
LoadAnimationGroup("NIS_4_B2")
LoadAnimationGroup("NIS_5_01")
LoadAnimationGroup("NIS_5_02")
LoadAnimationGroup("NIS_5_03")
LoadAnimationGroup("NIS_5_04")
LoadAnimationGroup("NIS_5_05")
LoadAnimationGroup("NIS_5_07")
LoadAnimationGroup("NIS_5_G5")
LoadAnimationGroup("NIS_6_02")
LoadAnimationGroup("NIS_6_03")
LoadAnimationGroup("NLock01A")
LoadAnimationGroup("NPC_Adult")
LoadAnimationGroup("NPC_AggroTaunt")
LoadAnimationGroup("NPC_Chat_1")
LoadAnimationGroup("NPC_Chat_2")
LoadAnimationGroup("NPC_Chat_F")
LoadAnimationGroup("NPC_Cheering")
LoadAnimationGroup("NPC_Love")
LoadAnimationGroup("NPC_Mascot")
LoadAnimationGroup("NPC_NeedsResolving")
LoadAnimationGroup("NPC_Principal")
LoadAnimationGroup("NPC_Shopping")
LoadAnimationGroup("NPC_Spectator")
LoadAnimationGroup("N_Ranged")
LoadAnimationGroup("N_Striker")
LoadAnimationGroup("N_Striker_A")
LoadAnimationGroup("N_Striker_B")
LoadAnimationGroup("ObsDoor")
LoadAnimationGroup("OBSMotor")
LoadAnimationGroup("ObsPtf_1")
LoadAnimationGroup("ObsPtf_2")
LoadAnimationGroup("Pageant")
LoadAnimationGroup("PedCoaster")
LoadAnimationGroup("Player_Tired")
LoadAnimationGroup("Player_VTired")
LoadAnimationGroup("POI_Booktease")
LoadAnimationGroup("POI_Cafeteria")
LoadAnimationGroup("POI_ChLead")
LoadAnimationGroup("POI_Gen")
LoadAnimationGroup("POI_Smoking")
LoadAnimationGroup("POI_Telloff")
LoadAnimationGroup("POI_WarmHands")
LoadAnimationGroup("POI_Worker")
LoadAnimationGroup("PortaPoo")
LoadAnimationGroup("PrepDoor")
LoadAnimationGroup("PunchBag")
LoadAnimationGroup("pxHoop")
LoadAnimationGroup("pxLad10M")
LoadAnimationGroup("Px_Arcade")
LoadAnimationGroup("Px_Bed")
LoadAnimationGroup("Px_Fountain")
LoadAnimationGroup("Px_Garb")
LoadAnimationGroup("Px_Gen")
LoadAnimationGroup("Px_Ladr")
LoadAnimationGroup("Px_Rail")
LoadAnimationGroup("Px_RedButton")
LoadAnimationGroup("Px_Sink")
LoadAnimationGroup("Px_Tlet")
LoadAnimationGroup("Px_Tree")
LoadAnimationGroup("P_Grappler")
LoadAnimationGroup("P_Striker")
LoadAnimationGroup("QPed")
LoadAnimationGroup("RAT_PED")
LoadAnimationGroup("Reeper")
LoadAnimationGroup("RMailbox")
LoadAnimationGroup("Russell")
LoadAnimationGroup("Russell_PBomb")
LoadAnimationGroup("Santa_Lap")
LoadAnimationGroup("SAUTH_A")
LoadAnimationGroup("SAUTH_F")
LoadAnimationGroup("SAUTH_U")
LoadAnimationGroup("SAUTH_X")
LoadAnimationGroup("SBarels1")
LoadAnimationGroup("SBULL_A")
LoadAnimationGroup("SBULL_F")
LoadAnimationGroup("SBULL_S")
LoadAnimationGroup("SBULL_U")
LoadAnimationGroup("SBULL_X")
LoadAnimationGroup("Scaffold")
LoadAnimationGroup("SCbanpil")
LoadAnimationGroup("SCBell")
LoadAnimationGroup("SCDoor")
LoadAnimationGroup("ScGate")
LoadAnimationGroup("SCgrdoor")
LoadAnimationGroup("scObsDr")
LoadAnimationGroup("ScoolBus")
LoadAnimationGroup("SCOOTER")
LoadAnimationGroup("SecDoorL")
LoadAnimationGroup("SecDoorR")
LoadAnimationGroup("Sedan")
LoadAnimationGroup("SFAT_A")
LoadAnimationGroup("SFAT_F")
LoadAnimationGroup("SFAT_I")
LoadAnimationGroup("SFAT_S")
LoadAnimationGroup("SGEN_A")
LoadAnimationGroup("SGEN_F")
LoadAnimationGroup("SGEN_I")
LoadAnimationGroup("SGEN_S")
LoadAnimationGroup("SGIRLS")
LoadAnimationGroup("SGIRL_A")
LoadAnimationGroup("SGIRL_D")
LoadAnimationGroup("SGIRL_F")
LoadAnimationGroup("SGIRL_S")
LoadAnimationGroup("SGTargB")
LoadAnimationGroup("ShopBike")
LoadAnimationGroup("SHUMIL_01")
LoadAnimationGroup("SHWR")
LoadAnimationGroup("SIAMESE")
LoadAnimationGroup("Siamese2")
LoadAnimationGroup("Sitting_Boys")
LoadAnimationGroup("SK8Board")
LoadAnimationGroup("Skateboard")
LoadAnimationGroup("SkeltonMan")
LoadAnimationGroup("Slingsh")
LoadAnimationGroup("SNERD_A")
LoadAnimationGroup("SNERD_F")
LoadAnimationGroup("SNERD_I")
LoadAnimationGroup("SNERD_S")
LoadAnimationGroup("SNGIRLS")
LoadAnimationGroup("SNGIRL_D")
LoadAnimationGroup("SNGIRL_F")
LoadAnimationGroup("SnowBlob")
LoadAnimationGroup("SnowMND")
LoadAnimationGroup("SnowWall")
LoadAnimationGroup("SOLD_A")
LoadAnimationGroup("SOLD_F")
LoadAnimationGroup("SOLD_I")
LoadAnimationGroup("SOLD_S")
LoadAnimationGroup("SPLAY_A")
LoadAnimationGroup("SPLAY_B")
LoadAnimationGroup("SprayCan")
LoadAnimationGroup("SpudG")
LoadAnimationGroup("Squid")
LoadAnimationGroup("StalDoor")
LoadAnimationGroup("Straf_Dout")
LoadAnimationGroup("Straf_Fat")
LoadAnimationGroup("Straf_Female")
LoadAnimationGroup("Straf_Male")
LoadAnimationGroup("Straf_Nerd")
LoadAnimationGroup("Straf_Prep")
LoadAnimationGroup("Straf_Savage")
LoadAnimationGroup("Straf_Wrest")
LoadAnimationGroup("SUV")
LoadAnimationGroup("TadGates")
LoadAnimationGroup("TadShud")
LoadAnimationGroup("TE_Female")
LoadAnimationGroup("TGKFlag")
LoadAnimationGroup("ToolBox")
LoadAnimationGroup("TrackSW")
LoadAnimationGroup("TreeFall")
LoadAnimationGroup("Truck")
LoadAnimationGroup("Try_Clothes")
LoadAnimationGroup("TSGate")
LoadAnimationGroup("UBO")
LoadAnimationGroup("Umbrella")
LoadAnimationGroup("VDMilo")
LoadAnimationGroup("VFlytrap")
LoadAnimationGroup("V_Bike")
LoadAnimationGroup("V_Bike_Races")
LoadAnimationGroup("V_COPBIKE")
LoadAnimationGroup("V_SCOOTER")
LoadAnimationGroup("WBalloon")
LoadAnimationGroup("WeaponUnlock")
LoadAnimationGroup("Ween_Fem")
LoadAnimationGroup("WHCrane")
LoadAnimationGroup("WheelBrl")
LoadAnimationGroup("WPCannon")
LoadAnimationGroup("WPSheldB")
LoadAnimationGroup("WPShield")
LoadAnimationGroup("WPTurret")
LoadAnimationGroup("W_BBall")
LoadAnimationGroup("W_BBallBat")
LoadAnimationGroup("W_BRocket")
LoadAnimationGroup("W_Camera")
LoadAnimationGroup("W_CherryBomb")
LoadAnimationGroup("W_CHShield")
LoadAnimationGroup("W_FlashLight")
LoadAnimationGroup("W_Fountain")
LoadAnimationGroup("W_Itchpowder")
LoadAnimationGroup("W_JBroom")
LoadAnimationGroup("W_Lid")
LoadAnimationGroup("W_PooBag")
LoadAnimationGroup("W_PRANK")
LoadAnimationGroup("W_Slingshot")
LoadAnimationGroup("W_Snowball")
LoadAnimationGroup("W_snowshwl")
LoadAnimationGroup("W_SprayCan")
LoadAnimationGroup("W_SpudGun")
LoadAnimationGroup("W_Stick")
LoadAnimationGroup("W_Thrown")
LoadAnimationGroup("W_wtrpipe")
LoadAnimationGroup("x_cas1")
LoadAnimationGroup("x_cas2")
LoadAnimationGroup("x_cas3")
LoadAnimationGroup("x_ccane")
LoadAnimationGroup("X_Chair")
LoadAnimationGroup("x_cndl")
LoadAnimationGroup("x_sleigh")
LoadAnimationGroup("x_tedy")
LoadActionTree("Act/Conv/3_05.act")
LoadActionTree("Act/AI/AI_Norton.act")
LoadActionTree("Act/Anim/3_05_Norton.act")
LoadActionTree("Act/Conv/1_G1.act")
LoadActionTree("Act/Anim/DO_Edgar.act")
LoadActionTree("Act/AI/AI_EDGAR_5_B.act")
LoadActionTree("Act/Conv/5_B.act")
ImportScript("CustomMission.lua")
end
function PedsPrepareConversation(ped1,ped2,distance,walkSpeed)
PlayerSetPunishmentPoints(0)
if PedGetWeapon(gPlayer) == 437 then
PedSetWeapon(gPlayer,-1)
end
if PedIsInAnyVehicle(gPlayer) then
PedWarpOutOfCar(gPlayer)
end
PedStop(ped2)
local x,y,z = PedGetPosXYZ(ped2)
PedMoveToXYZ(ped1,walkSpeed,x,y,z)
local r1 = x + distance
local r2 = y + distance
local r3 = x - distance
local r4 = y - distance
x,y,z = PedGetPosXYZ(ped1)
PedFaceXYZ(ped2,x,y,z)
repeat
Wait(0)
until PedInRectangle(ped1,r1,r2,r3,r4)
PedStop(ped1)
x,y,z = PedGetPosXYZ(ped2)
PedFaceXYZ(ped1,x,y,z)
x,y,z = PedGetPosXYZ(ped1)
PedFaceXYZ(ped2,x,y,z)
end
MissionCleanup = function()
CameraSetWidescreen(true)
Wait(500)
CameraFade(700, 0)
PlayerDetachFromVehicle(T_P_V[7].Vehicle)
--AreaClearAllVehicles
--deletepeds
AreaTransitionXYZ(14, -501.4, 316.11, 31.5)
Wait(500)
CameraAllowChange(true)
SoundSetAudioFocusPlayer()
CameraReturnToPlayer()
CameraReset()
CameraSetWidescreen(false)
--R_C_M set to value based on outcome of mission
if R_C_M == 1 then
--SoundPlayInteractiveStreamLocked("MS_BikeVictory.rsm", 0.8)
--Wait(5000)
SoundPlayMissionEndMusic(true, 8)
MissionSucceed(true, false, false)
Wait(2000)
end
if R_C_M == 2 then
--SoundPlayInteractiveStreamLocked("MS_BikeFailure.rsm", 0.8)
--Wait(5000)
SoundPlayMissionEndMusic(false, 8)--8?
MissionFail(false, true, "RACING_L_NOBIKE")
PedClearObjectives(Bully19)
PedClearObjectives(Bully01)
PedClearObjectives(Bully02)
PedClearObjectives(Bully03)
PedClearObjectives(Bully04)
PedClearObjectives(Bully05)
PedClearObjectives(Bully06)
PedClearObjectives(Bully07)
PedClearObjectives(Bully08)
PedClearObjectives(Bully09)
PedClearObjectives(Bully10)
PedClearObjectives(Bully11)
PedClearObjectives(Bully13)
PedClearObjectives(Bully12)
PedClearObjectives(Bully14)
PedClearObjectives(Bully17)
PedClearObjectives(Bully23)
PedDelete(Bully19)
PedDelete(Bully01)
PedDelete(Bully02)
PedDelete(Bully03)
PedDelete(Bully04)
PedDelete(Bully05)
PedDelete(Bully06)
PedDelete(Bully07)
PedDelete(Bully08)
PedDelete(Bully09)
PedDelete(Bully10)
PedDelete(Bully11)
PedDelete(Bully13)
PedDelete(Bully12)
PedDelete(Bully14)
PedDelete(Bully17)
PedDelete(Bully23)
--first is for fade. true fade, false don't fade.
--second is whether to display "You Failed" and the message if message
--third is what message to display, if message.
end
end
F_FirstBulliesSpawn = function()
local x,y = 271,-108
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip600)
SoundPlayInteractiveStream("MS_RunningLow02.rsm", 0.5)
SoundSetMidIntensityStream("MS_RunningMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_SearchingHigh.rsm", 0.60000002384186)
PedSetActionNode(Angie, "/Global/1_02B/Crying/CryLoop", "Act/Conv/1_02B.act")
PedSetStationary(Angie,true)
PedSetInvulnerable(Angie,true)
PlayerSetControl(0)
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
CameraSetWidescreen(true)
PedsPrepareConversation(gPlayer,Angie,1,0)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(2000)
PedSetActionNode(Angie, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Angie: Something terrible has happened to Pete.",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: What is it Angie what happened?",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(Angie, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Angie: Pete was kidnapped by the bullies you have to rescue him!",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Ah man thanks for telling me Angie, who did you see take him?",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(Angie, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Angie: It was Davis, he was talking about plans of taking over bullworth!",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Hmm the bullies huh? Well Davis will get what's coming to him!",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Alright Angie I have to go! See you later.",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(Angie, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Angie: Jimmy be careful, Davis wasn't acting like himself!",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Don't worry Angie, I'll bring Pete back in one peace and deal with Davis!",3,2)
SoundRemoveAllQueuedSpeech(Angie, true)
Wait(6000)
PedSetInfiniteSprint(Angie,true)
PedSetStationary(Angie,false)
Wait(500)
CameraReset()
CameraReturnToPlayer()
CameraSetWidescreen(false)
SoundSetAudioFocusPlayer()
PlayerSetControl(1)
PedMoveToXYZ(Angie, 2, l_5_0, l_5_1, l_5_2)
SoundPlayInteractiveStream("MS_RunningLow02.rsm", 0.5)
SoundSetMidIntensityStream("MS_RunningMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_SearchingHigh.rsm", 0.60000002384186)
TextPrintString("Follow The Yellow X On the Map to Find the next Location!", 3, 2)
Blip1 = BlipAddXYZ(162.0127563,-12.96118069,6.155268669,0)
AreaOverridePopulation(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
AreaClearAllPeds()
DisablePunishmentSystem(false)
AreaDisableAllPatrolPaths()
Bully23 = PedCreateXYZ(146, -522.3120, -22.0529, 35.7500)
VehicleCreateXYZ(272, 162.0127563+1,-12.96118069+1,6.155268669+1)
l_1_7 = false
l_1_8 = false
CreateThread("main10")
F_GetBikeFunction()
end
F_GetBikeFunction = function()
local x,y = 160,-12
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedDelete(Angie)
Bully01 = PedCreateXYZ(146,-549.7865,-40.1353,31.0114)
Bully02 = PedCreateXYZ(147,-543.9728394,-19.82579613,31.0236)
Bully19 = PedCreateXYZ(99,-544.4558,-43.0507,31.0114)
Bully03 = PedCreateXYZ(102,-541.9270,-22.1205,31.0283)
Bully04 = PedCreateXYZ(146,-534.1452,-21.4380,31.0114)
Bully05 = PedCreateXYZ(147,-514.2109,-17.3147,31.0114)
Bully06 = PedCreateXYZ(145,-518.3836,-17.8297,31.0114)
Bully07 = PedCreateXYZ(85,-512.6098,-43.0886,31.0114)
Bully08 = PedCreateXYZ(102,-515.1792,-33.0313,35.4627)
Bully09 = PedCreateXYZ(146,-514.3107,-35.4768,35.0111)
Bully10 = PedCreateXYZ(85,-509.9862,-50.1966,35.8609)
Bully11 = PedCreateXYZ(102,-550.0210,-51.9762,35.7125)
Bully13 = PedCreateXYZ(146,-548.6695,-43.9495,35.7484)
Bully12 = PedCreateXYZ(145,-544.7006,-34.1911,35.7359)
Bully14 = PedCreateXYZ(147,-534.1277,-32.1934,40.4900)
Bully17 = PedCreateXYZ(147,-512.6098+1, -43.0886+1,31.0114+1)
BlipRemove(Blip1)
Blip2 = BlipAddXYZ(589.3970337,-473.0499268,4.455030918,0)
TextPrintString("Get a bike and go to the Tenements!", 4, 1)
F_AtTheTenements()
end
F_AtTheTenements = function()
local x,y = 583,-472
local r1 = x + 1.5
local r2 = y + 1.5
local r3 = x - 1.5
local r4 = y - 1.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
Wait(1500)
PlayerSetControl(0)
AreaTransitionXYZ(36, -547.0377808, -45.9171524, 31.0114212)
BlipRemove(Blip2)
Blip3 = BlipAddXYZ(-544.4558,-43.0507,31.0114,0)
PlayerSetControl(1)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", 0.5)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", 0.60000002384186)
F_DavisConfrintation()
end
F_DavisConfrintation = function()
local x,y = -544,-43
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip3)
SoundRemoveAllQueuedSpeech(Bully19, true)
SoundRemoveAllQueuedSpeech(Bully23, true)
SoundRemoveAllQueuedSpeech(Bully13, true)
SoundRemoveAllQueuedSpeech(Bully12, true)
SoundRemoveAllQueuedSpeech(Bully01, true)
PedSetStationary(Bully19,true)
PedSetInvulnerable(Bully19,true)
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
PlayerSetControl(0)
CameraSetWidescreen(true)
PedsPrepareConversation(gPlayer,Bully19,1,0)
SoundRemoveAllQueuedSpeech(Bully19, true)
Wait(2000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: Well Well Well, If it isn't our friendly neighbourhood hero James! .",3,2)
SoundRemoveAllQueuedSpeech(Bully19, true)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Davis!, give Pete back you don't have to do this!",3,2)
SoundRemoveAllQueuedSpeech(Bully19, true)
Wait(5000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: Nah Jimmy I am done listening to you, I'm doing things my way now!",3,2)
SoundRemoveAllQueuedSpeech(Bully19, true)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Okay fine will do it your way then Davis!",3,2)
SoundRemoveAllQueuedSpeech(Bully19, true)
Wait(5000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: Fine by me your the worst leader ever Jimmy!",3,2)
SoundRemoveAllQueuedSpeech(Bully19, true)
Wait(5000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: See you at the top leader HAHAHAHA!",3,2)
SoundRemoveAllQueuedSpeech(Bully19, true)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", 0.5)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", 0.60000002384186)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
PedSetInfiniteSprint(Bully19,true)
PedAddPedToIgnoreList(Bully19, gPlayer)
PedSetStationary(Bully19,false)
DisablePunishmentSystem(true)
PedSetActionTree(Bully19, "/Global/1_03_Davis", "Act/Anim/1_03_Davis.act")
PedMoveToXYZ(Bully19, 3, -545.8493042, -31.86120033, 35.73596573)
SoundRemoveAllQueuedSpeech(Bully19, true)
SoundStopCurrentSpeechEvent(Bully19)
SoundRemoveAllQueuedSpeech(Bully19, true)
SoundRemoveAllQueuedSpeech(Bully19, true)
Wait(400)
SoundPlayScriptedSpeechEvent(Bully19, "CALL_FOR_HELP", 0, "large")
AreaClearAllProjectiles()
Wait(600)
TextPrintString("Find the bullies in each room before going upstairs!", 4, 1)
CameraReset()
CameraReturnToPlayer()
CameraSetWidescreen(false)
SoundSetAudioFocusPlayer()
PlayerSetControl(1)
PedSetPedToTypeAttitude(Bully04, 13, 0)
PedSetPedToTypeAttitude(Bully05, 13, 0)
PedSetPedToTypeAttitude(Bully06, 13, 0)
PedSetPedToTypeAttitude(Bully07, 13, 0)
PedSetPedToTypeAttitude(Bully01, 13, 0)
PedSetPedToTypeAttitude(Bully02, 13, 0)
PedFaceObjectNow(Bully01, gPlayer, 3)
Wait(500)
SoundPlayScriptedSpeechEvent(Bully01, "SEE_ALLY_ATTACKED", 0, "large")
PedAttackPlayer(Bully01, gPlayer,1)
PedSetPedToTypeAttitude(Bully01, 13, 0)
Wait(600)
Blip4 = BlipAddXYZ(-548.3130,-23.4027,31.0159,0)
CreateThread("main9")
SoundEnableSpeech_ActionTree()
F_BulliesConfrintation1()
end
function FailureIsImmenseLOL()
if AreaGetVisible() == 0 then
TextPrintString("What're you doing!", 4, 1)
Wait(2000)
TextPrintString("You fucking cheater!", 4, 1)
Wait(2000)
AreaTransitionXYZ(14, -502.2488, 318.8277, 31.4111)
SoundPlayInteractiveStreamLocked("MS_ShowdownAtThePlantHigh.rsm", MUSIC_DEFAULT_VOLUME)
AreaOverridePopulation(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
AreaClearAllPeds()
DisablePunishmentSystem(true)
AreaDisableAllPatrolPaths()
PedClearObjectives(Bully19)
PedClearObjectives(Bully01)
PedClearObjectives(Bully02)
PedClearObjectives(Bully03)
PedClearObjectives(Bully04)
PedClearObjectives(Bully05)
PedClearObjectives(Bully06)
PedClearObjectives(Bully07)
PedClearObjectives(Bully08)
PedClearObjectives(Bully09)
PedClearObjectives(Bully10)
PedClearObjectives(Bully11)
PedClearObjectives(Bully13)
PedClearObjectives(Bully12)
PedClearObjectives(Bully14)
PedClearObjectives(Bully17)
PedClearObjectives(Bully23)
PedDelete(Bully19)
PedDelete(Bully01)
PedDelete(Bully02)
PedDelete(Bully03)
PedDelete(Bully04)
PedDelete(Bully05)
PedDelete(Bully06)
PedDelete(Bully07)
PedDelete(Bully08)
PedDelete(Bully09)
PedDelete(Bully10)
PedDelete(Bully11)
PedDelete(Bully13)
PedDelete(Bully12)
PedDelete(Bully14)
PedDelete(Bully17)
PedDelete(Bully23)
Russell = PedCreateXYZ(75, -502.2488+1, 318.8277+1, 31.4111+1)
Wait(4000)
PedAttack(Russell, gPlayer,1)
PedSetPedToTypeAttitude(Russell, 13, 0)
Russell2 = PedCreateXYZ(75, -502.2488+1, 318.8277+1, 31.4111+1)
PedAttack(Russell2, gPlayer,2)
PedSetPedToTypeAttitude(Russell2, 13, 0)
Wait(4000)
Russell3 = PedCreateXYZ(75, -502.2488+1, 318.8277+1, 31.4111+1)
PedAttack(Russell3, gPlayer,2)
PedSetPedToTypeAttitude(Russell3, 13, 0)
Wait(4000)
Russell4 = PedCreateXYZ(75, -502.2488+1, 318.8277+1, 31.4111+1)
PedAttack(Russell4, gPlayer,2)
PedSetPedToTypeAttitude(Russell4, 13, 0)
Wait(4000)
Russell5 = PedCreateXYZ(75, -502.2488+1, 318.8277+1, 31.4111+1)
PedAttack(Russell5, gPlayer,2)
PedSetPedToTypeAttitude(Russell5, 13, 0)
Wait(4000)
Russell6 = PedCreateXYZ(75, -502.2488+1, 318.8277+1, 31.4111+1)
PedAttack(Russell6, gPlayer,2)
PedSetPedToTypeAttitude(Russell6, 13, 0)
PedSetHealth(Russell, 6000)
PedSetHealth(Russell2, 6000)
PedSetHealth(Russell3, 6000)
PedSetHealth(Russell4, 6000)
PedSetHealth(Russell5, 6000)
PedSetHealth(Russell6, 6000)
gRussellBlip = AddBlipForChar(Russell, 2, 26, 4)
gRussellBlip = AddBlipForChar(Russell2, 2, 26, 4)
gRussellBlip = AddBlipForChar(Russell3, 2, 26, 4)
gRussellBlip = AddBlipForChar(Russell4, 2, 26, 4)
gRussellBlip = AddBlipForChar(Russell5, 2, 26, 4)
gRussellBlip = AddBlipForChar(Russell6, 2, 26, 4)
PedShowHealthBar(Russell, true, "N_Russell", true)
bHealthBarShown = true
PlayerSetHealth(30)
PlayerSetControl(0)
Wait(2000)
MissionFail(false, true, "RACING_L_NOBIKE")
SoundPlayMissionEndMusic(false, 8)
TextClear()
CameraReset()
CameraReturnToPlayer()
CameraSetWidescreen(false)
SoundSetAudioFocusPlayer()
SetFactionRespect(11, 20)
PlayerSetControl(1)
end
end
F_BulliesConfrintation1 = function()
local x,y = -548,-23
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
BlipRemove(Blip4)
PedSetHealth(Bully02, 150)
PedSetHealth(Bully03, 160)
PedSetActionNode(Bully02, "/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh01","Act/Anim/Ambient.act")
PedSetActionNode(Bully03, "/Global/Ambient/SocialAnims/SocialChitChat/PlayAnim","Act/Anim/Ambient.act")
PedAttackPlayer(Bully02, gPlayer,1)
PedAttackPlayer(Bully03, gPlayer,1)
PedSetPedToTypeAttitude(Bully02, 13, 0)
PedSetPedToTypeAttitude(Bully03, 13, 0)
PlayerSetControl(0)
Wait(400)
PedFaceObjectNow(Bully02, gPlayer, 3)
PedFaceObjectNow(Bully03, gPlayer, 3)
Wait(600)
SoundPlayScriptedSpeechEvent(Bully02, "FIGHT_INITIATE", 0, "large")
SoundPlayScriptedSpeechEvent(Bully03, "FIGHT_INITIATE", 0, "large")
repeat
PedFaceObjectNow(Bully02, gPlayer, 3)
PedSetActionNode(Bully02, "/Global/BOSS_Darby/Offense/Special/Dash/Dash", "Act/Anim/BOSS_Darby.act")
Wait(0)
until PedIsPlaying(Bully02, "/Global/BOSS_Darby/Offense/Special/Dash/Dash", "Act/Anim/BOSS_Darby.act")
PlayerSetControl(0)
Wait(600)
repeat
PedSetActionNode(Bully02, "/Global/Russell_102/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R", "act/anim/Russell_102.act")
Wait(0)
until PedIsPlaying(Bully02, "/Global/Russell_102/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R", "act/anim/Russell_102.act")
Wait(800)
repeat
PedSetActionNode(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", "Act/Conv/2_B.act")
Wait(0)
until PedIsPlaying(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", "Act/Conv/2_B.act")
PlayerSetControl(1)
Blip5 = BlipAddXYZ(-533.4614,-22.8947,31.0114,0)
F_BulliesConfrintation2()
end
F_BulliesConfrintation2 = function()
local x,y = -533,-22
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
PedAttackPlayer(Bully04, gPlayer,1)
PedSetPedToTypeAttitude(Bully04, 13, 0)
BlipRemove(Blip5)
PlayerSetControl(0)
PedSetHealth(Bully04, 170)
Wait(600)
PedFaceObjectNow(Bully04, gPlayer, 3)
PlayerSetControl(0)
Wait(1000)
SoundPlayScriptedSpeechEvent(Bully04, "FIGHT_INITIATE", 0, "large")
repeat
PedSetActionNode(Bully04, "/Global/BOSS_Russell/Defense/Evade/EvadeInterrupt/EvadeInterrupt", "act/anim/BOSS_Russell.act")
Wait(100)
until PedIsPlaying(Bully04, "/Global/BOSS_Russell/Defense/Evade/EvadeInterrupt/EvadeInterrupt", "act/anim/BOSS_Russell.act")
PlayerSetControl(1)
Blip6 = BlipAddXYZ(-525.6486,-40.5339,31.0114,0)
F_BulliesConfrintation3()
end
F_BulliesConfrintation3 = function()
local x,y = -525,-40
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip6)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
PedSetHealth(Bully07, 180)
PedSetHealth(Bully17, 190)
PedSetActionNode(Bully07, "/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh01","Act/Anim/Ambient.act")
PedSetActionNode(Bully17, "/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh01","Act/Anim/Ambient.act")
PedFaceObjectNow(Bully07, gPlayer, 3)
PedFaceObjectNow(Bully17, gPlayer, 3)
PedAttackPlayer(Bully07, gPlayer,1)
PedAttackPlayer(Bully17, gPlayer,1)
PedSetPedToTypeAttitude(Bully07, 13, 0)
PedSetPedToTypeAttitude(Bully17, 13, 0)
PlayerSetControl(0)
SoundPlayScriptedSpeechEvent(Bully07, "FIGHT_INITIATE", 0, "large")
SoundPlayScriptedSpeechEvent(Bully17, "FIGHT_INITIATE", 0, "large")
PlayerSetControl(1)
Wait(2000)
PedSetActionNode(Bully07, "/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/SuperUppercut", "act/anim/Nemesis.act")
Wait(1600)
PedSetActionNode(Bully17, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GrappleStrikes/HitC/Charge/...", "Globals/Nemesis.act")
Blip7 = BlipAddXYZ(-525.3394,-25.7588,31.0173,0)
F_BulliesConfrintation4()
end
F_BulliesConfrintation4 = function()
local x,y = -525,-25
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
BlipRemove(Blip7)
PedSetHealth(Bully05, 185)
PedSetHealth(Bully06, 195)
PedSetActionNode(Bully05, "/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh01","Act/Anim/Ambient.act")
PedSetActionNode(Bully06, "/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh01","Act/Anim/Ambient.act")
PedFaceObjectNow(Bully05, gPlayer, 3)
PedFaceObjectNow(Bully06, gPlayer, 3)
PedAttackPlayer(Bully05, gPlayer,1)
PedAttackPlayer(Bully06, gPlayer,1)
PedSetPedToTypeAttitude(Bully05, 13, 0)
PedSetPedToTypeAttitude(Bully06, 13, 0)
PlayerSetControl(0)
SoundPlayScriptedSpeechEvent(Bully05, "FIGHT_INITIATE", 0, "large")
SoundPlayScriptedSpeechEvent(Bully06, "FIGHT_INITIATE", 0, "large")
PlayerSetControl(1)
Wait(2000)
PedSetActionNode(Bully05, "/Global/Russell_102/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R", "act/anim/Russell_102.act")
Wait(2000)
PedSetActionNode(Bully06, "/Global/P_Striker_B/Offense/Short/Strikes/Unblockable/HeavyPunchCharge", "act/anim/P_Striker_B.act")
Blip40 = BlipAddXYZ(-515.4213,-29.9185,31.0114,0)
F_BulliesConfrintation5()
end
F_BulliesConfrintation5 = function()
local x,y = -515,-29
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
BlipRemove(Blip40)
TextPrintString("Head upstairs", 4, 1)
Wait(600)
PedSetActionNode(Bully08, "/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh01","Act/Anim/Ambient.act")
PedSetActionNode(Bully09, "/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh01","Act/Anim/Ambient.act")
PedAttackPlayer(Bully08, gPlayer,1)
PedAttackPlayer(Bully09, gPlayer,1)
PedSetPedToTypeAttitude(Bully08, 13, 0)
PedSetPedToTypeAttitude(Bully09, 13, 0)
PedSetHealth(Bully08, 205)
PedSetHealth(Bully09, 215)
Wait(4000)
PedSetActionNode(Bully08, "/Global/Russell_102/Offense/Short/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R", "Act/anim/Russell_102.act")
Wait(4000)
PedSetActionNode(Bully09, "/Global/P_Striker_B/Offense/Short/Strikes/Unblockable/HeavyPunchCharge", "Act/anim/P_Striker_B.act")
Blip90 = BlipAddXYZ(-526.2628, -28.8353, 35.7359,0)
Bully24 = PedCreateXYZ(147, -517.4915, -24.5793, 35.7505)
Bully25 = PedCreateXYZ(102, -521.7363, -19.1053, 35.7594)
Bully300 = PedCreateXYZ(102, -528.8989,-40.5377,35.9444)
Wait(2000)
Bully301 = PedCreateXYZ(147, -528.8989+1,-40.5377+1,35.9444+1)
F_BulliesConfrintation01()
end
F_BulliesConfrintation01 = function()
local x,y = -522,-22
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
SoundDisableSpeech_ActionTree()
BlipRemove(Blip90)
Bully28 = PedCreateXYZ(85, -526.2628, -28.8353, 35.7359)
PedSetInvulnerable(Bully24,true)
PedSetInvulnerable(Bully25,true)
PedSetInvulnerable(Bully28,true)
PedSetHealth(Bully23, 650)
PedSetHealth(Bully24, 150)
PedSetHealth(Bully25, 160)
PlayerSetControl(0)
SoundPlayInteractiveStreamLocked("MS_FinalShowdown03High.rsm", MUSIC_DEFAULT_VOLUME)
PedFaceObjectNow(Bully23, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT_INITIATE", 0, "large")
Wait(2000)
PlayerSetControl(1)
PedAttackPlayer(Bully23, gPlayer,1)
TextPrintString("Defeat Wade", 4, 1)
gWadeBlip = AddBlipForChar(Bully23, 2, 26, 4)
PedSetCombatZoneMask(Bully23, true, false, false)
PedSetDamageTakenMultiplier(Bully23, 3, 0.5)
PedSetDamageTakenMultiplier(Bully23, 0, 0.5)
PlayerSocialDisableActionAgainstPed(Bully23, 35, true)
PlayerSocialDisableActionAgainstPed(Bully23, 23, true)
PlayerSocialDisableActionAgainstPed(Bully23, 30, true)
PlayerSocialDisableActionAgainstPed(Bully23, 29, true)
PlayerSocialDisableActionAgainstPed(Bully23, 28, true)
PedShowHealthBar(Bully23, true, "N_WADE", true)
PedSetPedToTypeAttitude(Bully23, 13, 0)
PedFaceObjectNow(Bully24, gPlayer, 3)
PedFaceObjectNow(Bully25, gPlayer, 3)
PedFaceObjectNow(Bully28, gPlayer, 3)
PedSetTaskNode(Bully24, "/Global/AI/ScriptedAI/CheeringAINode", "Act/AI/AI.act")
PedSetTaskNode(Bully25, "/Global/AI/ScriptedAI/CheeringAINode", "Act/AI/AI.act")
PedSetTaskNode(Bully28, "/Global/AI/ScriptedAI/CheeringAINode", "Act/AI/AI.act")
CreateThread("main3")
CreateThread("main4")
CreateThread("main6")
PedAddPedToIgnoreList(Pete, gPlayer)
PedIgnoreAttacks(Pete, true)
Pete = PedCreateXYZ(134, -513.5119019, -43.34968185, 40.48794174)
l_2_8 = false
end
F_BullyKnockedOut = function()
if PedIsDead(Bully23) and l_1_8 == false then
l_1_8 = true
SoundEnableSpeech_ActionTree()
PedDelete(Bully23)
PedDelete(Bully24)
PedDelete(Bully25)
PedDelete(Bully28)
Bully26 = PedCreateXYZ(147, -517.4915, -24.5793, 35.7505)
Bully27 = PedCreateXYZ(102, -521.7363, -19.1053, 35.7594)
Bully29 = PedCreateXYZ(85, -526.2628, -28.8353, 35.7359)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", 0.5)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", 0.60000002384186)
PedSetHealth(Bully26, 280)
PedSetHealth(Bully27, 290)
PedSetHealth(Bully29, 295)
Wait(600)
PedFaceObjectNow(Bully26, gPlayer, 3)
PedFaceObjectNow(Bully27, gPlayer, 3)
PedFaceObjectNow(Bully29, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully26, "FIGHT_INITIATE", 0, "large")
SoundPlayScriptedSpeechEvent(Bully27, "FIGHT_INITIATE", 0, "large")
PedSetPedToTypeAttitude(Bully26, 13, 0)
PedSetPedToTypeAttitude(Bully27, 13, 0)
PedSetPedToTypeAttitude(Bully29, 13, 0)
PedAttackPlayer(Bully26, gPlayer,1)
PedAttackPlayer(Bully27, gPlayer,1)
PedAttackPlayer(Bully29, gPlayer,1)
Blip56 = BlipAddXYZ(-513.3505,-46.4518,35.7343,0)
Wait(15000)
PedSetInvulnerable(Bully29,true)
PedAddPedToIgnoreList(Bully29, gPlayer)
PedIgnoreAttacks(Bully29, true)
PedClearObjectives(Bully29)
PedMoveToXYZ(Bully29, 3, -527.763916, -51.61159515, 35.71253204)
Wait(10000)
PedDelete(Bully29)
F_TrentFlee()
end
if PedIsDead(Bully23) and l_1_8 == false then
l_1_8 = true
SoundEnableSpeech_ActionTree()
PedDelete(Bully23)
PedDelete(Bully24)
PedDelete(Bully25)
PedDelete(Bully28)
Bully26 = PedCreateXYZ(147, -517.4915, -24.5793, 35.7505)
Bully27 = PedCreateXYZ(102, -521.7363, -19.1053, 35.7594)
Bully29 = PedCreateXYZ(85, -526.2628, -28.8353, 35.7359)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", 0.5)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", 0.60000002384186)
PedSetHealth(Bully26, 280)
PedSetHealth(Bully27, 290)
PedSetHealth(Bully29, 295)
Wait(600)
PedFaceObjectNow(Bully26, gPlayer, 3)
PedFaceObjectNow(Bully27, gPlayer, 3)
PedFaceObjectNow(Bully29, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully26, "FIGHT_INITIATE", 0, "large")
SoundPlayScriptedSpeechEvent(Bully27, "FIGHT_INITIATE", 0, "large")
PedSetPedToTypeAttitude(Bully26, 13, 0)
PedSetPedToTypeAttitude(Bully27, 13, 0)
PedSetPedToTypeAttitude(Bully29, 13, 0)
PedAttackPlayer(Bully26, gPlayer,1)
PedAttackPlayer(Bully27, gPlayer,1)
PedAttackPlayer(Bully29, gPlayer,1)
Blip56 = BlipAddXYZ(-513.3505,-46.4518,35.7343,0)
Wait(15000)
PedSetInvulnerable(Bully29,true)
PedAddPedToIgnoreList(Bully29, gPlayer)
PedIgnoreAttacks(Bully29, true)
PedClearObjectives(Bully29)
PedMoveToXYZ(Bully29, 3, -527.763916, -51.61159515, 35.71253204)
Wait(10000)
PedDelete(Bully29)
F_TrentFlee()
end
end
function F_LargeCrowd()
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully24, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
Wait(200)
SoundPlayScriptedSpeechEvent(Bully25, "FIGHT_WATCH", 0, "large")
end
function F_LargeCrowd2()
SoundPlayAmbience("Fight_Group_Sml_Int.rsm", 0.69999998807907)
end
F_TrentFlee = function()
local x,y = -518,-43
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
BlipRemove(Blip56)
PedFaceObjectNow(Bully10, gPlayer, 3)
TextPrintString("Go after Trent, watch out for other bullies!", 4, 1)
SoundPlayScriptedSpeechEvent(Bully10, "FIGHT", 0, "large")
PedSetHealth(Bully10, 385)
Wait(1000)
PedMoveToXYZ(Bully10, 3, -527.763916, -51.61159515, 35.71253204)
PedMoveToXYZ(Bully11, 3, -538.9951172, -52.32823563, 35.71253204)
Wait(1500)
Bully20 = PedCreateXYZ(146, -509.9862671, -50.19665527, 35.86096954)
Bully21 = PedCreateXYZ(147, -550.0210571, -51.9762435, 35.71253204)
Wait(1500)
PedMoveToXYZ(Bully20, 3, -527.763916, -51.61159515, 35.71253204)
PedMoveToXYZ(Bully21, 3, -538.9951172, -52.32823563, 35.71253204)
PedAttackPlayer(Bully10, gPlayer,1)
PedAttackPlayer(Bully11, gPlayer,1)
PedSetPedToTypeAttitude(Bully10, 13, 0)
PedSetPedToTypeAttitude(Bully11, 13, 0)
PedAttackPlayer(Bully20, gPlayer,1)
PedAttackPlayer(Bully21, gPlayer,1)
PedSetPedToTypeAttitude(Bully20, 13, 0)
PedSetPedToTypeAttitude(Bully21, 13, 0)
Blip46 = BlipAddXYZ(-550.5805,-46.9971,35.7500,0)
F_BulliesConfrintation6()
end
F_BulliesConfrintation6 = function()
local x,y = -550,-46
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
BlipRemove(Blip46)
Blip47 = BlipAddXYZ(-541.2206,-35.5556,35.7359,0)
PedAttackPlayer(Bully13, gPlayer,1)
PedSetPedToTypeAttitude(Bully13, 13, 0)
PedSetHealth(Bully13, 980)
Wait(600)
PedFaceObjectNow(Bully13, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully13, "FIGHT_INITIATE", 0, "large")
PedFaceObjectNow(Bully300, gPlayer, 3)
PedFaceObjectNow(Bully301, gPlayer, 3)
PedAttackPlayer(Bully300, gPlayer,1)
PedAttackPlayer(Bully301, gPlayer,1)
PedSetPedToTypeAttitude(Bully300, 13, 0)
PedSetPedToTypeAttitude(Bully301, 13, 0)
SoundPlayInteractiveStreamLocked("MS_XmasBellsRudyHigh.rsm", MUSIC_DEFAULT_VOLUME)
l_19_0 = false
end
F_BullySuperAttack = function()
if PedIsDead(Bully300) and PedIsDead(Bully301) and l_19_0 == false then
PedFaceObjectNow(Bully13, gPlayer, 3)
Wait(2000)
PlayerSetControl(0)
PedSetActionNode(Bully13, "/Global/BOSS_Darby/Offense/Special/Dash/Dash", "Act/Anim/BOSS_Darby.act")
Wait(400)
PedSetActionNode(Bully13, "/Global/BOSS_Russell/Defense/Evade/EvadeInterrupt/EvadeInterrupt", "act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully13, "FIGHT", 0, "large")
Wait(1500)
PedSetActionNode(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", "Act/Conv/2_B.act")
PedIsPlaying(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", true)
PedStop(Bully13)
PedClearObjectives(Bully13)
PedAddPedToIgnoreList(Bully13, gPlayer)
PedIgnoreAttacks(Bully13, true)
PedSetInvulnerable(Bully13, true)
Wait(2000)
PedMoveToXYZ(Bully13, 3, -550.5805, -46.9971, 35.7500)
Bully300 = PedCreateXYZ(102, -541.2206,-35.5556,35.7359)
Wait(2000)
Bully301 = PedCreateXYZ(147, -541.2206+1,-35.5556+1,35.7359+1)
PedFaceObjectNow(Bully13, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully13, "CALL_FOR_HELP", 0, "large")
PedFaceObjectNow(Bully300, gPlayer, 3)
PedFaceObjectNow(Bully301, gPlayer, 3)
PedAttackPlayer(Bully300, gPlayer,1)
PedAttackPlayer(Bully301, gPlayer,1)
PedSetPedToTypeAttitude(Bully300, 13, 0)
PedSetPedToTypeAttitude(Bully301, 13, 0)
PlayerSetControl(1)
PedMoveToXYZ(Bully13, 3, -541.2206,-35.5556,35.7359)
Wait(2000)
PedSetInvulnerable(Bully13, false)
PedRemovePedFromIgnoreList(Bully13, gPlayer)
PedIgnoreAttacks(Bully13, false)
SoundPlayScriptedSpeechEvent(Bully13, "FIGHT_INITIATE", 0, "large")
PedSetPedToTypeAttitude(Bully13, 13, 0)
PedAttackPlayer(Bully13, gPlayer,1)
end
if PedIsDead(Bully300) and PedIsDead(Bully301) and l_19_0 == false then
PedFaceObjectNow(Bully13, gPlayer, 3)
Wait(2000)
PlayerSetControl(0)
PedSetActionNode(Bully13, "/Global/BOSS_Darby/Offense/Special/Dash/Dash", "Act/Anim/BOSS_Darby.act")
Wait(400)
PedSetActionNode(Bully13, "/Global/BOSS_Russell/Defense/Evade/EvadeInterrupt/EvadeInterrupt", "act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully13, "FIGHT", 0, "large")
Wait(1500)
PedSetActionNode(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", "Act/Conv/2_B.act")
PedIsPlaying(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", true)
PedStop(Bully13)
PedClearObjectives(Bully13)
PedAddPedToIgnoreList(Bully13, gPlayer)
PedIgnoreAttacks(Bully13, true)
PedSetInvulnerable(Bully13, true)
Wait(2000)
PedMoveToXYZ(Bully13, 3, -550.5805, -46.9971, 35.7500)
Bully300 = PedCreateXYZ(102, -541.2206,-35.5556,35.7359)
Wait(2000)
Bully301 = PedCreateXYZ(147, -541.2206+1,-35.5556+1,35.7359+1)
PedFaceObjectNow(Bully13, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully13, "CALL_FOR_HELP", 0, "large")
PedFaceObjectNow(Bully300, gPlayer, 3)
PedFaceObjectNow(Bully301, gPlayer, 3)
PedAttackPlayer(Bully300, gPlayer,1)
PedAttackPlayer(Bully301, gPlayer,1)
PedSetPedToTypeAttitude(Bully300, 13, 0)
PedSetPedToTypeAttitude(Bully301, 13, 0)
PlayerSetControl(1)
PedMoveToXYZ(Bully13, 3, -541.2206,-35.5556,35.7359)
Wait(2000)
PedSetInvulnerable(Bully13, false)
PedRemovePedFromIgnoreList(Bully13, gPlayer)
PedIgnoreAttacks(Bully13, false)
SoundPlayScriptedSpeechEvent(Bully13, "FIGHT_INITIATE", 0, "large")
PedSetPedToTypeAttitude(Bully13, 13, 0)
PedAttackPlayer(Bully13, gPlayer,1)
end
end
F_BullyFuckingDead = function()
if PedIsDead(Bully13) and l_19_0 == false then
l_19_0 = true
Wait(2000)
F_EthanBossFight()
end
if PedIsDead(Bully13) and l_19_0 == false then
l_19_0 = true
Wait(2000)
F_EthanBossFight()
end
end
F_PlayerKnockedOut = function()
if PedIsDead(gPlayer) then
R_C_M = 2
end
end
F_ClearAllWeapons = function()
Wait(2000)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
end
main10 = function()
repeat
F_PlayerKnockedOut()
Wait(0)
until not Alive
end
main7 = function()
repeat
F_ClearAllWeapons()
Wait(0)
until not PedIsValid(Bully19) or PedIsDead(Bully19) or PedGetHealth(Bully19) < 1
end
main8 = function()
repeat
F_DavisBossStyle()
Wait(0)
until not PedIsValid(Bully19) or PedIsDead(Bully19) or PedGetHealth(Bully19) < 1
end
main9 = function()
repeat
FailureIsImmenseLOL()
Wait(4000)
until not PedIsValid(Bully19) or PedIsDead(Bully19) or PedGetHealth(Bully19) < 1
end
main2 = function()
repeat
F_EthanBossStyle()
Wait(0)
until not PedIsValid(Bully12) or PedIsDead(Bully12) or PedGetHealth(Bully12) < 1
end
main6 = function()
repeat
F_BullyBossStyle()
Wait(0)
until not PedIsValid(Bully23) or PedIsDead(Bully23) or PedGetHealth(Bully23) < 1
end
main3 = function()
repeat
F_LargeCrowd()
Wait(0)
until not PedIsValid(Bully23) or PedIsDead(Bully23) or PedGetHealth(Bully23) < 1
end
main4 = function()
repeat
F_LargeCrowd2()
Wait(0)
until not PedIsValid(Bully23) or PedIsDead(Bully23) or PedGetHealth(Bully23) < 1
end
main11 = function()
repeat
F_BullyBossStyle1()
Wait(0)
until not PedIsValid(Bully14) or PedIsDead(Bully14) or PedGetHealth(Bully14) < 1
end
main12 = function()
repeat
F_BullyBossStyle2()
Wait(0)
until not PedIsValid(Bully47) or PedIsDead(Bully47) or PedGetHealth(Bully47) < 1
end
main13 = function()
repeat
F_BullyBossStyle3()
Wait(0)
until not PedIsValid(Bully55) or PedIsDead(Bully55) or PedGetHealth(Bully55) < 1
end
main = function()
F_FirstBulliesSpawn()
repeat
F_BullyKnockedOut()
F_BullySuperAttack()
F_BullyFuckingDead()
F_EthanKnockedOut()
F_TroyKnockedOut()
F_TomKnockedOut()
F_BullySuperAttack2()
F_BullyFuckingDead2()
F_TrentKnockedOut()
F_PeteKnockedOut()
F_DavisKnockedOut()
Wait(0)
until not Alive
end
F_EthanBossFight = function()
local x,y = -541,-35
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", 0.5)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", 0.60000002384186)
BlipRemove(Blip47)
PlayerSetControl(0)
PedMoveToXYZ(Bully19, 3, -520.1132, -42.4193, 40.4879)
Wait(2000)
TextPrintString("Davis went upstairs!", 4, 1)
PedSetInfiniteSprint(Bully19, true)
PedsPrepareConversation(gPlayer,Bully12,1,0)
PedSetStationary(Bully12,true)
PedSetInvulnerable(Bully12,true)
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
CameraSetWidescreen(true)
SoundDisableSpeech_ActionTree()
Wait(2000)
PedSetActionNode(Bully12, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Ethan: Look Jimmy we don't have to do this you can just walk away!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Ethan you know I can't do that I have to rescue Pete!",3,2)
Wait(5000)
PedSetActionNode(Bully12, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Ethan: Alright Jimmy prove to me you're a leader and get him back!",3,2)
Wait(5000)
PedSetActionNode(Bully12, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Ethan: Let's Go this wont be easy!",3,2)
PedSetDamageTakenMultiplier(Bully12, 3, 0.5)
PedSetDamageTakenMultiplier(Bully12, 0, 0.5)
PlayerSocialDisableActionAgainstPed(Bully12, 35, true)
PlayerSocialDisableActionAgainstPed(Bully12, 23, true)
PlayerSocialDisableActionAgainstPed(Bully12, 30, true)
PlayerSocialDisableActionAgainstPed(Bully12, 29, true)
PlayerSocialDisableActionAgainstPed(Bully12, 28, true)
PedSetStationary(Bully12,false)
PedSetInvulnerable(Bully12,false)
CameraReset()
CameraSetWidescreen(false)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
TextPrintString("Defeat Ethan", 4, 1)
gEthanBlip = AddBlipForChar(Bully12, 2, 26, 4)
PedAttackPlayer(Bully12, gPlayer,1)
PedSetPedToTypeAttitude(Bully12, 13, 0)
PedSetHealth(Bully12, 575)
PedSetInfiniteSprint(Bully12, true)
PedShowHealthBar(Bully12, true, "N_ETHAN", true)
SoundPlayInteractiveStreamLocked("MS_FightingJohnnyVincentBossFight.rsm", MUSIC_DEFAULT_VOLUME)
Wait(2000)
PlayerSetControl(1)
CreateThread("main2")
Blip78 = BlipAddXYZ(-542.1815, -26.3866, 35.7594,0)
end
F_BullyBossStyle = function()
PlayerSetControl(0)
Wait(1000)
PedSetActionNode(Bully23, "/Global/Nemesis/Offense/Short/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(1000)
PedSetActionNode(Bully23, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully23, "/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/SuperUppercut", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully23, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully23, "/Global/BOSS_Russell/Offense/Short", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully23, "/Global/BOSS_Russell/Offense/Medium/Strikes/HeavyAttacks", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully23, "/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
PlayerSetControl(0)
Wait(2000)
PedSetActionNode(Bully23, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(2000)
PedSetActionNode(Bully23, "/Global/Nemesis/Offense/Medium/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully23, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully23, "/Global/BOSS_Darby/Offense/Short/Strikes/Unblockable/HeavyPunchCharge", "Act/anim/BOSS_Darby.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully23, "/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut", "Act/anim/G_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully23, "FIGHT", 0, "large")
Wait(1000)
end
F_EthanBossStyle = function()
Wait(2000)
PedSetActionNode(Bully12, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully12, "/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw", "Act/anim/BOSS_Darby.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully12, "/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKnee", "Act/anim/G_Striker_A.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully12, "/Global/P_Striker_A/Defense/Evade/EvadeCounter/LightAttacks/EvadeBackPunch", "act/anim/P_Striker_A.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully12, "/Global/G_Grappler_A/Offense/Short/Strikes/LightAttacks", "Act/anim/G_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully12, "/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut", "Act/anim/G_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2600)
PedSetActionNode(Bully12, "/Global/G_Ranged_A/Offense/Short/Strikes/LightAttacks/RightHook/HeavyKnee", "Act/anim/G_Ranged_A.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2600)
PedSetActionNode(Bully12, "/Global/G_Ranged_A/Offense/Medium/Strikes/HeavyAttacks/HeavyKnee", "Act/anim/G_Ranged_A.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2600)
PedSetActionNode(Bully12, "/Global/Nemesis/Offense/Medium/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2600)
PedSetActionNode(Bully12, "/Global/Nemesis/Offense/Medium/Strikes/LightAttacks/OverHandR/HeavyAttacks/Knee", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2600)
PedSetActionNode(Bully12, "/Global/Nemesis/Offense/Medium/Strikes/HeavyAttacks/JackieKick","Act/Anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
Wait(2600)
PedSetActionNode(Bully12, "/Global/J_Striker_A/Offense/Short/Strikes/LightAttacks/JAB/Elbow/HeavyAttacks/Uppercut", "Act/anim/J_Striker_A.act" )
SoundPlayScriptedSpeechEvent(Bully12, "FIGHT", 0, "large")
end
F_EthanKnockedOut = function()
if PedIsDead(Bully12) and l_1_7 == false then
l_1_7 = true
PedDelete(Bully12)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(2000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
LoadAnimationGroup("DO_STRIKECOMBO")
LoadAnimationGroup("BOXING")
LoadAnimationGroup("C_Wrestling")
LoadActionTree("Act/Anim/DO_Edgar.act")
LoadActionTree("Act/AI/AI_EDGAR_5_B.act")
F_BulliesConfrintation02()
end
if PedIsDead(Bully12) and l_1_7 == false then
l_1_7 = true
PedDelete(Bully12)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(2000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
LoadAnimationGroup("DO_STRIKECOMBO")
LoadAnimationGroup("BOXING")
LoadAnimationGroup("C_Wrestling")
LoadActionTree("Act/Anim/DO_Edgar.act")
LoadActionTree("Act/AI/AI_EDGAR_5_B.act")
F_BulliesConfrintation02()
end
end
F_BulliesConfrintation02 = function()
local x,y = -542,-26
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip78)
Bully30 = PedCreateXYZ(102, -542.1815, -26.3866, 35.7594)
Bully31 = PedCreateXYZ(147, -547.7224, -23.0555, 35.7594)
PedFaceObjectNow(Bully31, gPlayer, 3)
PedSetHealth(Bully30, 480)
PedSetHealth(Bully31, 180)
PedSetPedToTypeAttitude(Bully30, 13, 0)
PedSetPedToTypeAttitude(Bully31, 13, 0)
PedSetDamageTakenMultiplier(Bully30, 3, 0.5)
PedSetDamageTakenMultiplier(Bully30, 0, 0.5)
PedAttackPlayer(Bully30, gPlayer,1)
PlayerSocialDisableActionAgainstPed(Bully30, 35, true)
PlayerSocialDisableActionAgainstPed(Bully30, 23, true)
PlayerSocialDisableActionAgainstPed(Bully30, 30, true)
PlayerSocialDisableActionAgainstPed(Bully30, 29, true)
PlayerSocialDisableActionAgainstPed(Bully30, 28, true)
PedSetAITree(Bully30, "/Global/AI_EDGAR_5_B", "Act/AI/AI_EDGAR_5_B.act")
PedSetActionTree(Bully30, "/Global/DO_Edgar", "Act/Anim/DO_Edgar.act")
SoundPlayInteractiveStreamLocked("MS_ShowdownAtThePlantHigh.rsm", MUSIC_DEFAULT_VOLUME)
gTroyBlip = AddBlipForChar(Bully30, 2, 26, 4)
PedShowHealthBar(Bully30, true, "N_TROY", true)
PedSetWeapon(Bully30, 342)
PedSetWeapon(gPlayer, 342)
Blip79 = BlipAddXYZ(-534.1277466, -32.19345856, 40.49004364,0)
Bully31 = PedCreateXYZ(102, -540.9907, -32.8057, 40.4923)
Bully32 = PedCreateXYZ(85, -533.9155, -29.7763, 40.4886)
Bully34 = PedCreateXYZ(146, -530.1337, -34.3973, 40.4879)
Bully35 = PedCreateXYZ(145, -529.5260, -31.6303, 40.4822)
PedFaceObjectNow(Bully31, gPlayer, 3)
PedFaceObjectNow(Bully32, gPlayer, 3)
PedFaceObjectNow(Bully34, gPlayer, 3)
PedFaceObjectNow(Bully35, gPlayer, 3)
l_1_9 = false
SoundEnableSpeech_ActionTree()
end
F_TroyKnockedOut = function()
if PedIsDead(Bully30) and l_1_9 == false then
l_1_9 = true
PedDelete(Bully30)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
F_BulliesConfrintation03()
end
if PedIsDead(Bully30) and l_1_9 == false then
l_1_9 = true
PedDelete(Bully30)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
F_BulliesConfrintation03()
end
end
F_BullyBossStyle1 = function()
PlayerSetControl(0)
Wait(1000)
PedSetActionNode(Bully14, "/Global/Nemesis/Offense/Short/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(1000)
PedSetActionNode(Bully14, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully14, "/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/SuperUppercut", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully14, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully14, "/Global/BOSS_Russell/Offense/Short", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully14, "/Global/BOSS_Russell/Offense/Medium/Strikes/HeavyAttacks", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully14, "/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
PlayerSetControl(0)
Wait(2000)
PedSetActionNode(Bully14, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(2000)
PedSetActionNode(Bully14, "/Global/Nemesis/Offense/Medium/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully14, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully14, "/Global/BOSS_Darby/Offense/Short/Strikes/Unblockable/HeavyPunchCharge", "Act/anim/BOSS_Darby.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully14, "/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut", "Act/anim/G_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully14, "FIGHT", 0, "large")
Wait(1000)
end
F_BulliesConfrintation03 = function()
local x,y = -533,-31
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
PedClearAllWeapons(gPlayer)
PedSetWeapon(gPlayer,-1)
CreateThread("main7")
BlipRemove(Blip79)
PlayerSetControl(0)
PedsPrepareConversation(gPlayer,Bully14,1,0)
PedSetStationary(Bully14,true)
PedSetInvulnerable(Bully14,true)
CameraSetWidescreen(true)
PedsPrepareConversation(gPlayer,Bully14,1,0)
SoundDisableSpeech_ActionTree()
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
Wait(2000)
PedSetActionNode(Bully14, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Tom: Jimmy this is as far as you go!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Tom let's put an end to this please!",3,2)
Wait(5000)
PedSetActionNode(Bully14, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Tom: I can't ever betray my crew, Jimmy it has to be a fight!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: This is what I am trying to prevent fights!",3,2)
Wait(5000)
PedSetActionNode(Bully14, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Tom: Although you're trying to prevent them their still happening!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I understand that but I am trying my best!",3,2)
Wait(5000)
PedSetActionNode(Bully14, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Tom: Well you have to try harder enough talking!",3,2)
Wait(5000)
PedSetActionNode(Bully14, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Tom: Boys give him one hell of a fight!",3,2)
PedSetStationary(Bully14,false)
PedSetInvulnerable(Bully14,false)
CameraReset()
CameraSetWidescreen(false)
PlayerSetControl(1)
PedSetActionTree(Bully14, "/Global/J_Mascot", "Act/Anim/J_Mascot.act")
TextPrintString("Defeat Tom!", 4, 1)
PedAttackPlayer(Bully14, gPlayer,1)
PedSetPedToTypeAttitude(Bully14, 13, 0)
gTomBlip = AddBlipForChar(Bully14, 2, 26, 4)
PedSetHealth(Bully14, 675)
SoundEnableSpeech_ActionTree()
PedSetDamageTakenMultiplier(Bully14, 3, 0.5)
PedSetDamageTakenMultiplier(Bully14, 0, 0.5)
PlayerSocialDisableActionAgainstPed(Bully14, 35, true)
PlayerSocialDisableActionAgainstPed(Bully14, 23, true)
PlayerSocialDisableActionAgainstPed(Bully14, 30, true)
PlayerSocialDisableActionAgainstPed(Bully14, 29, true)
PlayerSocialDisableActionAgainstPed(Bully14, 28, true)
PedShowHealthBar(Bully14, true, "N_TOM", true)
SoundPlayInteractiveStreamLocked("MS_StreetFightLargeHigh_Boxing.rsm", MUSIC_DEFAULT_VOLUME)
PedSetActionTree(Bully31, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
PedSetActionTree(Bully32, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
PedSetActionTree(Bully34, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
PedSetActionTree(Bully35, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
PedAttackPlayer(Bully31, gPlayer,1)
PedAttackPlayer(Bully32, gPlayer,1)
PedAttackPlayer(Bully34, gPlayer,1)
PedAttackPlayer(Bully35, gPlayer,1)
PedSetPedToTypeAttitude(Bully31, 13, 0)
PedSetPedToTypeAttitude(Bully32, 13, 0)
PedSetPedToTypeAttitude(Bully34, 13, 0)
PedSetPedToTypeAttitude(Bully35, 13, 0)
Bully46 = PedCreateXYZ(145, -533.0253, -18.0395, 40.5175)
Bully623 = PedCreateXYZ(146, -533.0253+1, -18.0395+1, 40.5175+1)
CreateThread("main11")
Blip100 = BlipAddXYZ(-533.0253, -18.0395, 40.5175,0)
l_11_90 = false
end
F_TomKnockedOut = function()
if PedIsDead(Bully14) and l_11_90 == false then
l_11_90 = true
PedDelete(Bully14)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
F_BulliesConfrintation04()
end
if PedIsDead(Bully14) and l_11_90 == false then
l_11_90 = true
PedDelete(Bully14)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
F_BulliesConfrintation04()
end
end
F_BulliesConfrintation04 = function()
local x,y = -532,-25
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip100)
TextPrintString("Defeat The Bullies!", 4, 1)
Blip101 = BlipAddXYZ(-541.5520, -27.2601, 40.4227,0)
PedFaceObjectNow(Bully46, gPlayer, 3)
PedFaceObjectNow(Bully623, gPlayer, 3)
PedAttackPlayer(Bully46, gPlayer,1)
PedAttackPlayer(Bully623, gPlayer,1)
PedAttackPlayer(Bully50, gPlayer,1)
PedSetPedToTypeAttitude(Bully46, 13, 0)
PedSetPedToTypeAttitude(Bully623, 13, 0)
PedSetPedToTypeAttitude(Bully50, 13, 0)
PedSetDamageTakenMultiplier(Bully46, 3, 0.5)
PlayerSocialDisableActionAgainstPed(Bully46, 35, true)
PlayerSocialDisableActionAgainstPed(Bully46, 23, true)
PlayerSocialDisableActionAgainstPed(Bully46, 30, true)
PlayerSocialDisableActionAgainstPed(Bully46, 29, true)
PlayerSocialDisableActionAgainstPed(Bully46, 28, true)
gEthanBlip = AddBlipForChar(Bully46, 2, 26, 4)
PedSetHealth(Bully46, 920)
PedShowHealthBar(Bully46, true, "N_ETHAN", true)
SoundPlayInteractiveStreamLocked("MS_TenementsHigh.rsm", MUSIC_DEFAULT_VOLUME)
Bully50 = PedCreateXYZ(102, -533.1600, -28.6016, 40.4863)
Bully47 = PedCreateXYZ(85, -547.9218, -20.1157, 40.4529)
Bully51 = PedCreateXYZ(102, -550.3185, -18.1365, 40.4678)
Bully52 = PedCreateXYZ(146, -543.3803, -18.5298, 40.4648)
l_11_0 = false
end
F_BullySuperAttack2 = function()
if PedIsDead(Bully50) and PedIsDead(Bully623) and l_11_0 == false then
PedFaceObjectNow(Bully46, gPlayer, 3)
Wait(2000)
PlayerSetControl(0)
PedSetActionNode(Bully46, "/Global/BOSS_Darby/Offense/Special/Dash/Dash", "Act/Anim/BOSS_Darby.act")
Wait(400)
PedSetActionNode(Bully46, "/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut", "Act/anim/G_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully46, "FIGHT", 0, "large")
Wait(1500)
PedSetActionNode(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", "Act/Conv/2_B.act")
PedIsPlaying(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", true)
PedStop(Bully46)
PedClearObjectives(Bully46)
PedAddPedToIgnoreList(Bully46, gPlayer)
PedIgnoreAttacks(Bully46, true)
PedSetInvulnerable(Bully46, true)
Wait(2000)
PedMoveToXYZ(Bully46, 3, -533.0253, -18.0395, 40.5175)
Bully50 = PedCreateXYZ(102, -540.9907, -32.8057, 40.4923)
Bully623 = PedCreateXYZ(146, -540.9907+1, -32.8057+1, 40.4923+1)
PedFaceObjectNow(Bully46, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully46, "CALL_FOR_HELP", 0, "large")
PedFaceObjectNow(Bully50, gPlayer, 3)
PedSetPedToTypeAttitude(Bully50, 13, 0)
PedFaceObjectNow(Bully623, gPlayer, 3)
PedSetPedToTypeAttitude(Bully623, 13, 0)
PlayerSetControl(1)
Wait(2000)
PedAttackPlayer(Bully50, gPlayer,1)
PedAttackPlayer(Bully623, gPlayer,1)
PedSetPedToTypeAttitude(Bully50, 13, 0)
PedSetPedToTypeAttitude(Bully623, 13, 0)
PedSetInvulnerable(Bully46, false)
PedRemovePedFromIgnoreList(Bully46, gPlayer)
PedIgnoreAttacks(Bully46, false)
SoundPlayScriptedSpeechEvent(Bully46, "FIGHT_INITIATE", 0, "large")
PedSetPedToTypeAttitude(Bully46, 13, 0)
PedAttackPlayer(Bully46, gPlayer,1)
end
if PedIsDead(Bully50) and PedIsDead(Bully623) and l_11_0 == false then
PedFaceObjectNow(Bully46, gPlayer, 3)
Wait(2000)
PlayerSetControl(0)
PedSetActionNode(Bully46, "/Global/BOSS_Darby/Offense/Special/Dash/Dash", "Act/Anim/BOSS_Darby.act")
Wait(400)
PedSetActionNode(Bully46, "/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut", "Act/anim/G_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully46, "FIGHT", 0, "large")
Wait(1500)
PedSetActionNode(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", "Act/Conv/2_B.act")
PedIsPlaying(gPlayer, "/Global/2_B/PlayerOnGround/BellyUp", true)
PedStop(Bully46)
PedClearObjectives(Bully46)
PedAddPedToIgnoreList(Bully46, gPlayer)
PedIgnoreAttacks(Bully46, true)
PedSetInvulnerable(Bully46, true)
Wait(2000)
PedMoveToXYZ(Bully46, 3, -533.0253, -18.0395, 40.5175)
Bully50 = PedCreateXYZ(102, -540.9907, -32.8057, 40.4923)
Bully623 = PedCreateXYZ(146, -540.9907+1, -32.8057+1, 40.4923+1)
PedFaceObjectNow(Bully46, gPlayer, 3)
SoundPlayScriptedSpeechEvent(Bully46, "CALL_FOR_HELP", 0, "large")
PedFaceObjectNow(Bully50, gPlayer, 3)
PedSetPedToTypeAttitude(Bully50, 13, 0)
PedFaceObjectNow(Bully623, gPlayer, 3)
PedSetPedToTypeAttitude(Bully623, 13, 0)
PlayerSetControl(1)
Wait(2000)
PedAttackPlayer(Bully50, gPlayer,1)
PedAttackPlayer(Bully623, gPlayer,1)
PedSetPedToTypeAttitude(Bully50, 13, 0)
PedSetPedToTypeAttitude(Bully623, 13, 0)
PedSetInvulnerable(Bully46, false)
PedRemovePedFromIgnoreList(Bully46, gPlayer)
PedIgnoreAttacks(Bully46, false)
SoundPlayScriptedSpeechEvent(Bully46, "FIGHT_INITIATE", 0, "large")
PedSetPedToTypeAttitude(Bully46, 13, 0)
PedAttackPlayer(Bully46, gPlayer,1)
end
end
F_BullyFuckingDead2 = function()
if PedIsDead(Bully46) and l_11_0 == false then
l_11_0 = true
F_BulliesConfrintation05()
end
if PedIsDead(Bully46) and l_11_0 == false then
l_11_0 = true
F_BulliesConfrintation05()
end
end
F_BullyBossStyle2 = function()
PlayerSetControl(0)
Wait(1000)
PedSetActionNode(Bully47, "/Global/Nemesis/Offense/Short/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(1000)
PedSetActionNode(Bully47, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully47, "/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/SuperUppercut", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully47, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully47, "/Global/BOSS_Russell/Offense/Short", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully47, "/Global/BOSS_Russell/Offense/Medium/Strikes/HeavyAttacks", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully47, "/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
PlayerSetControl(0)
Wait(2000)
PedSetActionNode(Bully47, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(2000)
PedSetActionNode(Bully47, "/Global/Nemesis/Offense/Medium/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully47, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully47, "/Global/BOSS_Darby/Offense/Short/Strikes/Unblockable/HeavyPunchCharge", "Act/anim/BOSS_Darby.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully47, "/Global/G_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightHook/Uppercut", "Act/anim/G_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully47, "FIGHT", 0, "large")
Wait(1000)
end
F_BulliesConfrintation05 = function()
local x,y = -541,-27
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip101)
TextPrintString("Defeat The Bullies!", 4, 1)
PedFaceObjectNow(Bully47, gPlayer, 3)
PedFaceObjectNow(Bully51, gPlayer, 3)
PedFaceObjectNow(Bully52, gPlayer, 3)
PedAttackPlayer(Bully47, gPlayer,1)
PedAttackPlayer(Bully51, gPlayer,1)
PedAttackPlayer(Bully52, gPlayer,1)
PedSetPedToTypeAttitude(Bully47, 13, 0)
PedSetPedToTypeAttitude(Bully51, 13, 0)
PedSetPedToTypeAttitude(Bully52, 13, 0)
PedSetDamageTakenMultiplier(Bully47, 3, 0.5)
PedSetDamageTakenMultiplier(Bully47, 0, 0.5)
PlayerSocialDisableActionAgainstPed(Bully47, 35, true)
PlayerSocialDisableActionAgainstPed(Bully47, 23, true)
PlayerSocialDisableActionAgainstPed(Bully47, 30, true)
PlayerSocialDisableActionAgainstPed(Bully47, 29, true)
PlayerSocialDisableActionAgainstPed(Bully47, 28, true)
PedSetHealth(Bully47, 680)
gTrentBlip = AddBlipForChar(Bully47, 2, 26, 4)
PedShowHealthBar(Bully47, true, "N_TRENT", true)
SoundPlayInteractiveStreamLocked("MS_BikeFunHigh.rsm", MUSIC_DEFAULT_VOLUME)
Blip102 = BlipAddXYZ(-542.6859, -36.3132, 40.4913,0)
CreateThread("main12")
Bully55 = PedCreateXYZ(102, -547.6255, -44.7669, 40.4983)
Bully53 = PedCreateXYZ(146, -542.6859, -36.3132, 40.4913)
Bully54 = PedCreateXYZ(147, -540.9707, -38.6303, 40.5263)
l_11_92 = false
end
F_TrentKnockedOut = function()
if PedIsDead(Bully47) and l_11_92 == false then
l_11_92 = true
PedDelete(Bully47)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
F_BulliesConfrintation06()
end
if PedIsDead(Bully47) and l_11_92 == false then
l_11_92 = true
PedDelete(Bully47)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
F_BulliesConfrintation06()
end
end
F_BulliesConfrintation06 = function()
local x,y = -542,-36
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip102)
PlayerSetControl(0)
TextPrintString("Defeat Troy, Look out for the other bullies!", 4, 1)
PedShowHealthBar(Bully55, true, "N_TROY", true)
PedFaceObjectNow(Bully53, gPlayer, 3)
PedFaceObjectNow(Bully54, gPlayer, 3)
PedAttackPlayer(Bully55, gPlayer,1)
PedSetPedToTypeAttitude(Bully55, 13, 0)
PedSetHealth(Bully55, 990)
PedSetDamageTakenMultiplier(Bully55, 3, 0.5)
PedSetDamageTakenMultiplier(Bully55, 0, 0.5)
PlayerSocialDisableActionAgainstPed(Bully55, 35, true)
PlayerSocialDisableActionAgainstPed(Bully55, 23, true)
PlayerSocialDisableActionAgainstPed(Bully55, 30, true)
PlayerSocialDisableActionAgainstPed(Bully55, 29, true)
PlayerSocialDisableActionAgainstPed(Bully55, 28, true)
PedAttackPlayer(Bully53, gPlayer,2)
PedAttackPlayer(Bully54, gPlayer,2)
PedSetPedToTypeAttitude(Bully53, 13, 0)
PedSetPedToTypeAttitude(Bully54, 13, 0)
SoundPlayInteractiveStreamLocked("MS_BikeDay.rsm", MUSIC_DEFAULT_VOLUME)
CreateThread("main13")
Blip103 = BlipAddXYZ(-534.1943359,-40.94366074,40.51479721,0)
F_FinalBossFightDavis()
end
F_BullyBossStyle3 = function()
Wait(1000)
PedSetActionNode(Bully55, "/Global/Nemesis/Offense/Short/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully55, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully55, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully55, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully55, "/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks/SuperUppercut", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully55, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully55, "/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch2", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully55, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully55, "/Global/BOSS_Russell/Offense/Short", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully55, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully55, "/Global/BOSS_Russell/Offense/Medium/Strikes/HeavyAttacks", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully55, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully55, "/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully55, "FIGHT", 0, "large")
end
F_FinalBossFightDavis = function()
local x,y = -534,-40
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip103)
PlayerSetControl(0)
PedsPrepareConversation(gPlayer,Bully19,1,0)
PedSetStationary(Bully19,true)
PedSetInvulnerable(Bully19,true)
CameraSetWidescreen(true)
SoundDisableSpeech_ActionTree()
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
Wait(2000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: So Jimmy you decided to show up!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Davis give Pete back I am done with this nonsense!",3,2)
Wait(5000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: Nah Jimmy, you're such a leader everything is still terrible!",3,2)
Wait(5000)
PedSetActionNode(Bully12, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I am doing the best I can me and Pete what else do you want!",3,2)
Wait(2000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: The school is still garbage, I am gonna rule the school! .",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I won't let you, I will always rescue everyone!",3,2)
Wait(5000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: Then it's a fight, this ain't no slingshot fight either!",3,2)
Wait(5000)
PedSetActionNode(Bully19, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Davis: This time I'll put you down with my fist, Russell taught me!",3,2)
CameraFollowPed(Bully19)
Wait(6000)
TextPrintString("Final Boss Fight : Davis", 4, 1)
Wait(2000)
TextPrintString("Defeat Davis For the Final Time!", 4, 1)
Wait(3000)
TextPrintString("Davis swings are very powerful, Be CAREFUL!", 4, 1)
PedSetStationary(Bully19,false)
PedSetInvulnerable(Bully19,false)
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
SoundPlayInteractiveStreamLocked("MS_EpicConfrantation_NIS.rsm", MUSIC_DEFAULT_VOLUME)
Wait(4000)
SoundPlayInteractiveStreamLocked("MS_EpicConfrontationHighPart2.rsm", MUSIC_DEFAULT_VOLUME)
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
CameraSetWidescreen(false)
CameraReset()
CameraFollowPed(gPlayer)
PedRemovePedFromIgnoreList(Bully19, gPlayer)
PedAttackPlayer(Bully19, gPlayer,2)
PedSetHealth(Bully19, 1600)
PedShowHealthBar(Bully19, true, "N_Davis", true)
bHealthBarShown = true
PedSetActionTree(Bully19, "/Global/Russell_102", "Act/Anim/Russell_102.act")
PedSetPedToTypeAttitude(Bully19, 13, 0)
PedSetInfiniteSprint(Bully19, true)
gDavisBlip = AddBlipForChar(Bully19, 2, 1, 4)
PedLockTarget(Bully19, gPlayer, 3)
PlayerSetControl(1)
SoundEnableSpeech_ActionTree()
PedSetDamageTakenMultiplier(Bully19, 3, 0.5)
PedSetDamageTakenMultiplier(Bully19, 0, 0.5)
PlayerSocialDisableActionAgainstPed(Bully19, 35, true)
PlayerSocialDisableActionAgainstPed(Bully19, 23, true)
PlayerSocialDisableActionAgainstPed(Bully19, 30, true)
PlayerSocialDisableActionAgainstPed(Bully19, 29, true)
PlayerSocialDisableActionAgainstPed(Bully19, 28, true)
PedSetInvulnerable(Bully19,false)
CreateThread("main8")
l_2_9 = false
end
F_DavisBossStyle = function()
PlayerSetControl(0)
Wait(1000)
PedSetActionNode(Bully19, "/Global/Nemesis/Offense/Short/Strikes", "Act/anim/Nemesis.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(1000)
PedSetActionNode(Bully19, "/Global/J_Melee_A/Offense/Short","act/anim/J_Melee_A.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully19, "/Global/Russell_102/Offense/Short/Medium/RisingAttacks", "act/anim/Russell_102.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully19, "/Global/1_03_Davis/Offense/Short/Strikes/HeavyAttacks/SwingPunch/SwingPunch_R", "act/anim/1_03_Davis.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully19, "/Global/BOSS_Russell/Offense/Short", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully19, "/Global/BOSS_Russell/Offense/Medium/Strikes/HeavyAttacks", "Act/anim/BOSS_Russell.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(2000)
PedSetActionNode(Bully19, "/Global/P_Grappler_A/Offense/Medium/Strikes/Kick/TauntKick", "act/anim/P_Grappler_A.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
PlayerSetControl(0)
Wait(2000)
PedSetActionNode(Bully19, "/Global/P_Bif/Offense/Special/HeavyAttacks", "act/anim/P_Bif.act" )
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
PlayerSetControl(1)
Wait(2000)
PedSetActionNode(Bully19, "/Global/J_Melee_A/Offense/Short/Strikes/LightAttacks/RightHand/LeftHand", "act/anim/J_Melee_A.act" )
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully19, "/Global/P_Bif/Offense/Short/Strikes/LightAttacks/JAB/Cross", "Act/anim/P_Bif.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully19, "/Global/J_Grappler_A/Offense/Medium/Strikes/HeavyAttacks/RightPunch/Axehandle", "act/anim/J_Grappler_A.act" )
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(1000)
PedSetActionNode(Bully19, "/Global/J_Mascot/Offense/Medium/Strikes/LightAttacks/WindMill_R/WindMill_L/HeavyAttacks/SwingPunch_R", "act/anim/J_Mascot.act")
SoundPlayScriptedSpeechEvent(Bully19, "FIGHT", 0, "large")
Wait(1000)
end
F_DavisKnockedOut = function()
if PedIsDead(Bully19) and l_2_9 == false then
l_2_9 = true
PedDelete(Bully19)
SoundPlayInteractiveStreamLocked("MS_EpicConfrontationEnding.rsm", MUSIC_DEFAULT_VOLUME)
Wait(5000)
SoundPlayInteractiveStream("MS_EpicConfrontationLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
PedRecruitAlly(gPlayer, Pete)
PedGuardPed(Pete, gPlayer)
gPeteBlip = AddBlipForChar(Pete, 6, 2, 2)
PedSetInfiniteSprint(Pete, true)
PlayerSetControl(0)
PedsPrepareConversation(gPlayer,Pete,1,0)
PedSetStationary(Pete,true)
PedSetInvulnerable(Pete,true)
SoundDisableSpeech_ActionTree()
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Thanks for saving me the school is in complete chaos!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I know, this isn't over between me and the bullies!",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: I know it isn't, you should just take some time and think.",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I am done thinking of what to do it is time to take action!",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: By making your view from other students worse being a dictator?! .",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: What else am I supposed to do be nice I gotta keep order!",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Maybe force isn't the best way to do it all the time try different methods!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I never doubt your advice Pete, I will try different methods.",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Good!, now let's get out of here!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Yeah this place is brining back unwanted memories heh.",3,2)
PedSetStationary(Pete,false)
PedSetInvulnerable(Pete,false)
CameraReset()
CameraSetWidescreen(false)
SoundEnableSpeech_ActionTree()
SoundPlayInteractiveStream("MS_RunningLow02.rsm", 0.5)
SoundSetMidIntensityStream("MS_RunningMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_SearchingHigh.rsm", 0.60000002384186)
PlayerSetControl(1)
Blip1024 = BlipAddXYZ(211.1745, -74.4785, 8.6105,0)
F_PeteIsRescued()
end
if PedIsDead(Bully19) and l_2_9 == false then
l_2_9 = true
PedDelete(Bully19)
SoundPlayInteractiveStreamLocked("MS_EpicConfrontationEnding.rsm", MUSIC_DEFAULT_VOLUME)
Wait(5000)
SoundPlayInteractiveStream("MS_EpicConfrontationLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_EpicConfrontationMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_EpicConfrontationHigh.rsm", MUSIC_DEFAULT_VOLUME)
Wait(3000)
SoundPlayInteractiveStream("MS_BikeChaseLow.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_BikeChaseMid.rsm", MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_BikeChaseHigh.rsm", MUSIC_DEFAULT_VOLUME)
PedRecruitAlly(gPlayer, Pete)
PedGuardPed(Pete, gPlayer)
gPeteBlip = AddBlipForChar(Pete, 6, 2, 2)
PedSetInfiniteSprint(Pete, true)
PlayerSetControl(0)
PedsPrepareConversation(gPlayer,Pete,1,0)
PedSetStationary(Pete,true)
PedSetInvulnerable(Pete,true)
SoundDisableSpeech_ActionTree()
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Thanks for saving me the school is in complete chaos!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I know, this isn't over between me and the bullies!",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: I know it isn't, you should just take some time and think.",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I am done thinking of what to do it is time to take action!",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: By making your view from other students worse being a dictator?! .",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: What else am I supposed to do be nice I gotta keep order!",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Maybe force isn't the best way to do it all the time try different methods!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: I never doubt your advice Pete, I will try different methods.",3,2)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Good!, now let's get out of here!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Yeah this place is brining back unwanted memories heh.",3,2)
PedSetStationary(Pete,false)
PedSetInvulnerable(Pete,false)
CameraReset()
CameraSetWidescreen(false)
SoundEnableSpeech_ActionTree()
SoundPlayInteractiveStream("MS_RunningLow02.rsm", 0.5)
SoundSetMidIntensityStream("MS_RunningMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_SearchingHigh.rsm", 0.60000002384186)
PlayerSetControl(1)
Blip1024 = BlipAddXYZ(211.1745, -74.4785, 8.6105,0)
F_PeteIsRescued()
end
end
F_PeteIsRescued = function()
local x,y = 211,-74
local r1 = x + 3.5
local r2 = y + 3.5
local r3 = x - 3.5
local r4 = y - 3.5
repeat
Wait(0)
until PedInRectangle(gPlayer,r1,r2,r3,r4)
BlipRemove(Blip1024)
PlayerSetControl(0)
PedsPrepareConversation(gPlayer,Pete,1,0)
PedSetStationary(Pete,true)
PedSetInvulnerable(Pete,true)
CameraSetWidescreen(true)
CameraSetFOV(65)
Wait(2000)
CameraSetFOV(40)
Wait(5000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Alright later Jimmy thanks for rescuing me!",3,2)
Wait(5000)
PedSetActionNode(gPlayer, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Jimmy: Okay later Pete, I'm gonna get some sleep!",3,2)
Wait(3000)
PedSetActionNode(Pete, "/Global/6_02/FactionLeaderNIS/Preps/Chad01","Act/Conv/6_02.act")
TextPrintString("Pete: Alright later Jimmy.",3,2)
PedSetStationary(Pete,false)
PedSetInvulnerable(Pete,false)
MissionSucceed(true, false, false)
SoundPlayMissionEndMusic(true, 8)
CameraSetWidescreen(true)
Wait(1000)
CameraFade(700, 0)
AreaTransitionXYZ(14, -501.4, 316.11, 31.5)
Wait(500)
CameraAllowChange(true)
SoundSetAudioFocusPlayer()
CameraReturnToPlayer()
CameraReset()
CameraSetWidescreen(false)
PlayerSetControl(1)
SoundEnableSpeech_ActionTree()
ClockSet(18, 0)
end
F_PeteKnockedOut = function()
if PedIsDead(Pete) and l_2_8 == false then
l_2_8 = true
CameraSetWidescreen(true)
TextPrintString("You Failed Pete!", 4, 1)
Wait(2000)
PedClearObjectives(Bully19)
PedClearObjectives(Bully01)
PedClearObjectives(Bully02)
PedClearObjectives(Bully03)
PedClearObjectives(Bully04)
PedClearObjectives(Bully05)
PedClearObjectives(Bully06)
PedClearObjectives(Bully07)
PedClearObjectives(Bully08)
PedClearObjectives(Bully09)
PedClearObjectives(Bully10)
PedClearObjectives(Bully11)
PedClearObjectives(Bully13)
PedClearObjectives(Bully12)
PedClearObjectives(Bully14)
PedClearObjectives(Bully17)
PedClearObjectives(Bully23)
PedDelete(Bully19)
PedDelete(Bully01)
PedDelete(Bully02)
PedDelete(Bully03)
PedDelete(Bully04)
PedDelete(Bully05)
PedDelete(Bully06)
PedDelete(Bully07)
PedDelete(Bully08)
PedDelete(Bully09)
PedDelete(Bully10)
PedDelete(Bully11)
PedDelete(Bully13)
PedDelete(Bully12)
PedDelete(Bully14)
PedDelete(Bully17)
PedDelete(Bully23)
AreaTransitionXYZ(14, -502.2488, 318.8277, 31.4111)
MissionFail(false, true, "RACING_L_NOBIKE")
TextClear()
PlayerSetHealth(10)
PlayerSetControl(0)
Wait(4000)
PlayerSetControl(1)
SoundPlayMissionEndMusic(false, 8)
SetFactionRespect(11, 20)
Wait(500)
CameraFade(700, 0)
CameraSetWidescreen(false)
end
if PedIsDead(Pete) and l_2_8 == false then
l_2_8 = true
CameraSetWidescreen(true)
TextPrintString("You Failed Pete!", 4, 1)
Wait(2000)
PedClearObjectives(Bully19)
PedClearObjectives(Bully01)
PedClearObjectives(Bully02)
PedClearObjectives(Bully03)
PedClearObjectives(Bully04)
PedClearObjectives(Bully05)
PedClearObjectives(Bully06)
PedClearObjectives(Bully07)
PedClearObjectives(Bully08)
PedClearObjectives(Bully09)
PedClearObjectives(Bully10)
PedClearObjectives(Bully11)
PedClearObjectives(Bully13)
PedClearObjectives(Bully12)
PedClearObjectives(Bully14)
PedClearObjectives(Bully17)
PedClearObjectives(Bully23)
PedDelete(Bully19)
PedDelete(Bully01)
PedDelete(Bully02)
PedDelete(Bully03)
PedDelete(Bully04)
PedDelete(Bully05)
PedDelete(Bully06)
PedDelete(Bully07)
PedDelete(Bully08)
PedDelete(Bully09)
PedDelete(Bully10)
PedDelete(Bully11)
PedDelete(Bully13)
PedDelete(Bully12)
PedDelete(Bully14)
PedDelete(Bully17)
PedDelete(Bully23)
AreaTransitionXYZ(14, -502.2488, 318.8277, 31.4111)
MissionFail(false, true, "RACING_L_NOBIKE")
TextClear()
PlayerSetHealth(10)
PlayerSetControl(0)
Wait(4000)
PlayerSetControl(1)
SoundPlayMissionEndMusic(false, 8)
SetFactionRespect(11, 20)
Wait(500)
CameraFade(700, 0)
CameraSetWidescreen(false)
end
end