Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Untitled Mod V3
- -- By: Altamurenza
- --[[
- THIS IS HAPPENED BECAUSE OF TOO MUCH REQUEST UNTITLED MOD V3.
- Remember what i said about Untitled Mod V2 is the final version, but too much
- people request about Untitled Mod V3 so i made this to be final version.
- Credits:
- - DaBOSS54320 / Derpy54320 for his Fly Mod and Rapid Fire Guns.
- ]]
- gData = {
- SystemIsLoaded = false,Chapter = ChapterGet(),
- Model_Option = 1,Area_Option = 1,Vehicle_Option = 1,
- Model = "player",Style = "Player",FPS_Mode = false,H_Regen = GetTimer(),Studies = false,
- StudyArt = false,Vehicle_Siren = false,Unlimited_Ammo = true,Remove_Timer = true,FixBug = true,
- Default_Speed = 100,Rotation = 0,Is_Busy = false,Get_Peds = 999999,Is_Fighting = false,
- T_Limit = 200,CurrentAllies = {},SwitchStyle = GetTimer(),Owned = false,Unlocked = false,
- TimeLimit = GetTimer(),
- RF_Gun = {
- Spud = GetTimer(),Brocket = GetTimer()
- },NoClip = {
- [69] = {Select = 2,[2] = {"NONE",0},[3] = {"UP",0.1},[4] = {"DOWN",-0.1}},
- Touch1 = GetTimer(),Touch2 = GetTimer(),FreeCam = false,FCx = nil,FCy = nil,
- FCz = nil,Dist = 120,Active = false,CP = 0,CH = PedGetHeading(gPlayer)
- },
- [69] = {Moving = false,LastRun = GetTimer(),LastSprint = GetTimer(),SprintPressed = 0},
- James_BETA = {
- Timer = GetTimer(),Combo = 1
- },
- Voice = {
- PlayerHarass = false,Hurts = false,Gifts = false,Stinky = false,Apology = false,
- },
- Func = {
- SwapModel = function(ped,model,style)
- PedSwapModel(ped,model)
- PedSetActionTree(ped,"/Global/"..style,"Act/Anim/"..style..".act")
- if ped == gPlayer then
- gData.Model = model
- gData.Style = style
- PedSetAITree(ped,"/Global/PlayerAI","Act/PlayerAI.act")
- end
- end,
- SetStyle = function(ped,style,apply)
- PedSetActionTree(ped,"/Global/"..style,"Act/Anim/"..style..".act")
- if ped == gPlayer then
- PedSetAITree(ped,"/Global/PlayerAI","Act/PlayerAI.act")
- if type(apply) == "boolean" and apply then
- gData.Style = style
- end
- end
- end,
- Transition = function(a,x,y,z,cax,cay,caz,lox,loy,loz)
- CameraAllowChange(true)
- CameraAllowScriptedChange(true)
- PedSetEffectedByGravity(gPlayer,false)
- PedSetActionNode(gPlayer,"/Global/1_06/HoboFly","Act/Conv/1_06.act")
- CameraFade(500,0)
- Wait(501)
- AreaForceLoadAreaByAreaTransition(true)
- AreaDisableCameraControlForTransition(true)
- AreaTransitionXYZ(a,x,y,z - 4)
- AreaDisableCameraControlForTransition(false)
- AreaForceLoadAreaByAreaTransition(false)
- CameraSetXYZ(cax,cay,caz)
- CameraLookAtXYZ(lox,loy,loz)
- Wait(501)
- CameraFade(500,1)
- CameraAllowChange(false)
- CameraAllowScriptedChange(false)
- end,
- Get_Menu = function(SetVisible,Option,Max)
- CounterMakeHUDVisible(SetVisible)
- PlayerWeaponHudLock(SetVisible)
- ToggleHUDComponentVisibility(4,not SetVisible)
- ToggleHUDComponentVisibility(11,not SetVisible)
- ToggleHUDComponentVisibility(0,not SetVisible)
- if SetVisible then
- CounterSetCurrent(Option)
- CounterSetMax(Max)
- end
- end,
- IsMoving = function()
- local s = 0.08 -- sensitivity
- return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -s
- end,
- ForceStop = function(ped)
- if PedIsValid(ped) then
- PedSetActionNode(ped,"/Global","Act/Globals.act")
- end
- end,
- SetNeutral = function(ped)
- for faction = 0,13 do
- PedSetPedToTypeAttitude(ped,faction,2)
- end
- end,
- InClass = function()
- if MissionActiveSpecific("C_English_1") or MissionActiveSpecific("C_English_2") or MissionActiveSpecific("C_English_3") or MissionActiveSpecific("C_English_4") or MissionActiveSpecific("C_English_5") or MissionActiveSpecific("C_ART_1") or MissionActiveSpecific("C_ART_2") or MissionActiveSpecific("C_ART_3") or MissionActiveSpecific("C_ART_4") or MissionActiveSpecific("C_ART_5") or MissionActiveSpecific("C_Math_1") or MissionActiveSpecific("C_Math_2") or MissionActiveSpecific("C_Math_3") or MissionActiveSpecific("C_Math_4") or MissionActiveSpecific("C_Math_5") or MissionActiveSpecific("C_Biology_1") or MissionActiveSpecific("C_Biology_2") or MissionActiveSpecific("C_Biology_3") or MissionActiveSpecific("C_Biology_4") or MissionActiveSpecific("C_Biology_5") or MissionActiveSpecific("C_Geography_1") or MissionActiveSpecific("C_Geography_2") or MissionActiveSpecific("C_Geography_3") or MissionActiveSpecific("C_Geography_4") or MissionActiveSpecific("C_Geography_5") then
- return true
- end
- return false
- end,
- InBio = function()
- if MissionActiveSpecific("C_Biology_1") or MissionActiveSpecific("C_Biology_2") or MissionActiveSpecific("C_Biology_3") or MissionActiveSpecific("C_Biology_4") or MissionActiveSpecific("C_Biology_5") then
- return true
- end
- return false
- end,
- InGeo = function()
- if MissionActiveSpecific("C_Geography_1") or MissionActiveSpecific("C_Geography_2") or MissionActiveSpecific("C_Geography_3") or MissionActiveSpecific("C_Geography_4") or MissionActiveSpecific("C_Geography_5") then
- return true
- end
- return false
- end,
- InArt = function()
- if MissionActiveSpecific("C_ART_1") or MissionActiveSpecific("C_ART_2") or MissionActiveSpecific("C_ART_3") or MissionActiveSpecific("C_ART_4") or MissionActiveSpecific("C_ART_5") then
- return true
- end
- return false
- end,
- ForwardDir2D = function(h,dist)
- return -math.sin(h)*dist,math.cos(h)*dist
- end,
- ForwardDir3D = function(p,h,dist)
- return math.cos(p)*-math.sin(h)*dist,math.cos(p)*math.cos(h)*dist,math.sin(p)*dist
- end,
- GetModelID = function(ped)
- for i = 1,256 do
- if PedIsModel(ped,i) then
- return i
- end
- end
- end,
- FadeIn = function(timer)
- CameraFade(timer,0)
- Wait(timer + 1)
- end,
- FadeOut = function(wait,timer)
- if type(wait) == "number" then
- Wait(wait)
- end
- CameraFade(timer,1)
- end,
- Clear = function(alone)
- if alone then
- StopPedProduction(true)
- AreaClearSpawners()
- AreaClearDockers()
- AreaClearAllPeds()
- AreaClearPatrolPaths()
- else
- StopPedProduction(false)
- end
- end
- }
- }
- UM_Menu = function()
- while true do
- local Grabbed,Target,x,y,z = PedGetGrappleTargetPed(gPlayer),PedGetTargetPed(gPlayer),PlayerGetPosXYZ()
- function F_WaitUntil(Button,Controller)
- while not IsButtonBeingReleased(Button,Controller) do
- Wait(0)
- end
- end
- F_IsInPosXYZ,CameraPos = function()
- local Location,Dist = {
- {psx = -490.6,psy = 314.3,psa = 14},{psx = -767.4,psy = 355.3,psa = 60},
- {psx = -737.3,psy = 38.3,psa = 30},{psx = -692.2,psy = 347.9,psa = 61},
- {psx = -661.5,psy = 244.2,psa = 57},{psx = -747.1,psy = 356.6,psa = 59},
- },0.5
- for num,loc in ipairs(Location) do
- if AreaGetVisible() == loc.psa then
- if PedInRectangle(gPlayer,loc.psx + Dist,loc.psy + Dist,loc.psx - Dist,loc.psy - Dist) then
- return true
- end
- end
- end
- return false
- end,function()
- Camera_Location = {
- {csx = -493.0,csy = 311.0,cxz = 32.3,csa = 14},{csx = -769.7,csy = 351.5,cxz = 6.4,csa = 60},
- {csx = -738.0,csy = 33.6,cxz = -2.3,csa = 30},{csx = -696.8,csy = 348.2,cxz = 3.2,csa = 61},
- {csx = -661.4,csy = 249.0,cxz = 15.2,csa = 57},{csx = -747.1,csy = 356.6,cxz = 3.5,csa = 59},
- }
- for num,loc in ipairs(Camera_Location) do
- if AreaGetVisible() == loc.csa then
- return loc.csx,loc.csy,loc.cxz + 1
- end
- end
- end
- -- Fixed Spawn Allies:
- Create_CustomPeds = function(Index)
- local PlayerRecruitPed = function(Pedestrian)
- local Leader = gPlayer
- while PedHasAllyFollower(Leader) do
- Leader = PedGetAllyFollower(Leader)
- if Leader == Pedestrian then
- return false
- end
- end
- PedRecruitAlly(Leader,Pedestrian)
- PedGuardPed(Pedestrian,Leader)
- end
- local GetRandomCoord = function(a)
- if a == 14 then return math.random(-497*100,-494*100)/100,math.random(308*100,312*100)/100,31.3 end
- if a == 59 then return math.random(-750*100,-755*100)/100,math.random(348*100,351*100)/100,3.5 end
- if a == 60 then return math.random(-772*100,-779*100)/100,math.random(351*100,355*100)/100,6.4 end
- if a == 30 then return math.random(-724*100,-732*100)/100,math.random(33*100,41*100)/100,-2.3 end
- if a == 61 then return math.random(-699*100,-696*100)/100,math.random(344*100,352*100)/100,3.2 end
- if a == 57 then return math.random(-655*100,-662*100)/100,math.random(248*100,245*100)/100,15.2 end
- end
- local xdipper = PedCreateXYZ(Index,GetRandomCoord(AreaGetVisible()))
- PedMakeAmbient(xdipper)
- PlayerRecruitPed(xdipper)
- PedSetActionNode(xdipper,"/Global/1_03/animations/DavisWait","Act/Conv/1_03.act")
- --table.insert(gData.CurrentAllies,xdipper)
- end
- -- Model Selector:
- if F_IsInPosXYZ() and PedHasWeapon(gPlayer,-1) and not PlayerIsInAnyVehicle() and not (PedIsValid(Target) or PedIsValid(Grabbed)) then
- if IsButtonBeingPressed(6,0) then
- F_WaitUntil(6,0)
- SoundPlay2D("Erand")
- gData.Func.Clear(true)
- gData.Func.FadeIn(500)
- IsPlayer,gData.Is_Fighting,gData.Is_Busy = false,false,true
- if gData.Style == "James_BETA" then
- gData.Func.SetStyle(gPlayer,"Player")
- else
- gData.Func.SetStyle(gPlayer,gData.Style) end
- gData.Func.ForceStop(gPlayer)
- gData.Func.Get_Menu(true,gData.Model_Option,table.getn(Models))
- gData.Func.FadeOut(100,500)
- repeat
- if IsButtonBeingPressed(11,0) then
- gData.Model_Option = gData.Model_Option + 1
- if gData.Model_Option > table.getn(Models) then gData.Model_Option = 1 end
- gData.Func.SwapModel(gPlayer,Models[gData.Model_Option].model,Models[gData.Model_Option].style)
- SoundPlay2D("ButtonUp")
- elseif IsButtonBeingPressed(8,0) then
- gData.Model_Option = gData.Model_Option - 1
- if gData.Model_Option < 1 then gData.Model_Option = table.getn(Models) end
- gData.Func.SwapModel(gPlayer,Models[gData.Model_Option].model,Models[gData.Model_Option].style)
- SoundPlay2D("ButtonUp")
- end
- -- Unlimited Spawn Allies (Fixed):
- if IsButtonBeingPressed(2,0) then
- --if gData.Model_Option ~= 1 and table.getn(gData.CurrentAllies) <= 10 then
- if gData.Model_Option ~= 1 then
- Create_CustomPeds(gData.Model_Option)
- end
- end
- if gData.Style ~= "Player" then
- IsPlayer = false
- PedMoveToXYZ(gPlayer,CameraPos())
- else
- if not IsPlayer then
- PlayerStopAllActionControllers()
- IsPlayer = true
- end
- end
- CounterSetCurrent(gData.Model_Option)
- PlayerSetPosSimple(x,y,z)
- PedFaceXYZ(gPlayer,CameraPos())
- PedSetWeapon(gPlayer,-1)
- CameraSetXYZ(CameraPos())
- CameraLookAtXYZ(x,y,z + 1.5)
- Wait(0)
- until IsButtonBeingPressed(6,0)
- SoundPlay2D("Erand")
- gData.Func.ForceStop(gPlayer)
- F_WaitUntil(6,0)
- gData.Func.FadeIn(500)
- for i,ped in {PedFindInAreaXYZ(0,0,0,99999)} do
- if PedIsValid(ped) and ped ~= gPlayer then
- gData.Func.ForceStop(ped)
- end
- end
- gData.Func.SetStyle(gPlayer,"Player",false)
- CameraReturnToPlayer()
- gData.Func.Get_Menu(false)
- gData.Func.Clear(false)
- gData.Func.FadeOut(100,500)
- gData.Is_Busy = false
- end
- end
- -- Area Selector:
- if PedInRectangle(gPlayer,-498.3 + 1,309.0 + 1,-498.3 - 1,309.0 - 1) then
- if IsButtonBeingPressed(6,0) and PedHasWeapon(gPlayer,-1) and not PlayerIsInAnyVehicle() and not (PedIsValid(Target) or PedIsValid(Grabbed)) then
- F_WaitUntil(6,0)
- SoundPlay2D("Erand")
- PauseGameClock()
- gData.Is_Busy = true
- gData.Func.ForceStop(gPlayer)
- gData.Func.Get_Menu(true,gData.Area_Option,table.getn(Area))
- ForceTransitionNow = function()
- gData.Func.Transition(
- Area[gData.Area_Option][1],
- Area[gData.Area_Option][2],
- Area[gData.Area_Option][3],
- Area[gData.Area_Option][4],
- Area[gData.Area_Option][5],
- Area[gData.Area_Option][6],
- Area[gData.Area_Option][7],
- Area[gData.Area_Option][8],
- Area[gData.Area_Option][9],
- Area[gData.Area_Option][10]
- )
- end
- ForceTransitionNow()
- repeat
- if IsButtonBeingPressed(11,0) then
- gData.Area_Option = gData.Area_Option + 1
- if gData.Area_Option > table.getn(Area) then gData.Area_Option = 1 end
- ForceTransitionNow()
- SoundPlay2D("ButtonUp")
- elseif IsButtonBeingPressed(8,0) then
- gData.Area_Option = gData.Area_Option - 1
- if gData.Area_Option < 1 then gData.Area_Option = table.getn(Area) end
- ForceTransitionNow()
- SoundPlay2D("ButtonUp")
- end
- if IsButtonBeingPressed(2,0) then
- if gData.Chapter ~= 2 then
- if ChapterGet() ~= 2 then
- ChapterSet(2)
- else
- ChapterSet(gData.Chapter) end
- else
- if ChapterGet() ~= 2 then
- ChapterSet(2)
- else
- local Not_Winter = {1,6,4}
- ChapterSet(Not_Winter[math.random(1,3)])
- end
- end
- end
- CounterSetCurrent(gData.Area_Option)
- Wait(0)
- until IsButtonBeingPressed(6,0)
- CameraAllowChange(true)
- CameraAllowScriptedChange(true)
- F_WaitUntil(6,0)
- UnpauseGameClock()
- PlayerSetPosSimple(
- Area[gData.Area_Option][2],
- Area[gData.Area_Option][3],
- Area[gData.Area_Option][4] + 1
- )
- gData.Func.Get_Menu(false)
- gData.Func.ForceStop(gPlayer)
- gData.Is_Busy = false
- PedSetEffectedByGravity(gPlayer,true)
- CameraReturnToPlayer()
- SoundPlay2D("Erand")
- end
- end
- -- Vehicle Selector:
- if PedInRectangle(gPlayer,161.9 + 1,-7.9 + 1,161.9 - 1,-7.9 - 1) or PedInRectangle(gPlayer,526.8 + 1,-411.3 + 1,526.8 - 1,-411.3 - 1) then
- if IsButtonBeingPressed(6,0) and PedHasWeapon(gPlayer,-1) and not PlayerIsInAnyVehicle() and not (PedIsValid(Target) or PedIsValid(Grabbed)) then
- F_WaitUntil(6,0)
- SoundPlay2D("Erand")
- gData.Func.FadeIn(500)
- gData.Is_Busy,x,y,z = true,PlayerGetPosXYZ()
- gData.Func.ForceStop(gPlayer)
- gData.Func.Get_Menu(true,gData.Vehicle_Option,table.getn(Vehicles))
- gData.Func.Clear(true)
- local VCx,VCy,VCz = 168.3,-10.6,5.8
- if PedInRectangle(gPlayer,526.8 + 1,-411.3 + 1,526.8 - 1,-411.3 - 1) then
- VCx,VCy,VCz = 521.2,-408.6,2.1
- end
- if VehicleIsValid(PlayerVehicle) then VehicleDelete(PlayerVehicle) end
- PlayerVehicle = VehicleCreateXYZ(Vehicles[gData.Vehicle_Option],VCx,VCy,VCz)
- gData.Func.FadeOut(100,500)
- repeat
- if IsButtonBeingPressed(11,0) then
- gData.Vehicle_Option = gData.Vehicle_Option + 1
- if gData.Vehicle_Option > table.getn(Vehicles) then gData.Vehicle_Option = 1 end
- if VehicleIsValid(PlayerVehicle) then VehicleDelete(PlayerVehicle) end
- PlayerVehicle = VehicleCreateXYZ(Vehicles[gData.Vehicle_Option],VCx,VCy,VCz)
- SoundPlay2D("ButtonUp")
- elseif IsButtonBeingPressed(8,0) then
- gData.Vehicle_Option = gData.Vehicle_Option - 1
- if gData.Vehicle_Option < 1 then gData.Vehicle_Option = table.getn(Vehicles) end
- gData.Func.ForceStop(gPlayer)
- if VehicleIsValid(PlayerVehicle) then VehicleDelete(PlayerVehicle) end
- PlayerVehicle = VehicleCreateXYZ(Vehicles[gData.Vehicle_Option],VCx,VCy,VCz)
- SoundPlay2D("ButtonUp")
- end
- -- He didn't do this small thing:
- CounterSetCurrent(gData.Vehicle_Option)
- PlayerSetPosSimple(x,y,z)
- CameraSetXYZ(x,y,z + 4,VCx,VCy,VCz)
- Wait(0)
- until IsButtonBeingPressed(6,0)
- F_WaitUntil(6,0)
- SoundPlay2D("Erand")
- gData.Func.FadeIn(500)
- CameraReturnToPlayer()
- gData.Func.ForceStop(6,0)
- gData.Is_Busy = false
- gData.Func.Get_Menu(false)
- gData.Func.Clear(false)
- gData.Func.FadeOut(100,500)
- end
- end
- Wait(0)
- end
- end
- UM_System = function()
- while true do
- local Grabbed,Target = PedGetGrappleTargetPed(gPlayer),PedGetTargetPed(gPlayer)
- -- Pedestrian config:
- for i,ped in {PedFindInAreaXYZ(0,0,0,gData.Get_Peds)} do
- if PedIsValid(ped) and ped ~= gPlayer then
- local x,y,z = PlayerGetPosXYZ()
- local x1,y1,z1 = PedGetPosXYZ(ped)
- -- AEZAKMI:
- PedSetFlag(gPlayer,117,false)
- local Hunter_Faction = {0,7,8,9,10}
- for HF_ID,HF in ipairs(Hunter_Faction) do
- if PedGetFaction(ped) == HF then
- local Flags = {{21,true},{27,true}}
- for FLAG_ID,FLAG in ipairs(Flags) do
- if PedGetFlag(ped,FLAG[1]) ~= FLAG[2] then
- PedSetFlag(ped,unpack(FLAG))
- end
- end
- end
- end
- -- Every woman as slut:
- if PedIsFemale(ped) and not PedIsModel(ped,39) then
- PedSetEmotionTowardsPed(ped,gPlayer,4)
- PedSetFlag(ped,84,true)
- end
- -- Busting reversal:
- if PedIsPlaying(ped,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Adult_Takedown",true) then
- if PedGetTargetPed(ped) == gPlayer and math.abs(x - x1) + math.abs(y - y1) + math.abs(z - z1) < 2 then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/GrappleReversals/StandingReversals/GrappleBreak/Break_GIVE","Act/Globals.act")
- end
- end
- -- Stealing car from the owner:
- if not PedIsInAnyVehicle(ped) and VehicleIsValid(PedGetLastVehicle(ped)) and not PlayerIsInAnyVehicle() then
- if math.abs(x - x1) + math.abs(y - y1) + math.abs(z - z1) < 4 then
- local LastVehicle = PedGetLastVehicle(ped)
- if IsButtonBeingPressed(15,0) then
- if VehicleIsModel(LastVehicle,284) or VehicleIsModel(LastVehicle,286) or VehicleIsModel(LastVehicle,288) or VehicleIsModel(LastVehicle,289) or VehicleIsModel(LastVehicle,290) or VehicleIsModel(LastVehicle,291) or VehicleIsModel(LastVehicle,292) or VehicleIsModel(LastVehicle,293) or VehicleIsModel(LastVehicle,294) or VehicleIsModel(LastVehicle,295) or VehicleIsModel(LastVehicle,296) or VehicleIsModel(LastVehicle,297) then
- PedWarpIntoCar(gPlayer,LastVehicle)
- SoundPlayAmbientSpeechEvent(ped,"SCARED_CRY")
- PedFlee(ped,gPlayer)
- elseif VehicleIsModel(LastVehicle,275) then
- PedPutOnBike(gPlayer,LastVehicle)
- SoundPlayAmbientSpeechEvent(ped,"SCARED")
- PedFlee(ped,gPlayer)
- end
- end
- end
- end
- -- NPC Girl logic:
- if PedIsFemale(gPlayer) then
- if PedIsOnScreen(ped) then
- if PedIsDoingTask(ped,"/Global/AI/GeneralObjectives/FleeObjective",true) then
- if PedIsFemale(ped) and AreaGetVisible() == 35 then
- PedSetTaskNode(ped,"/Global/AI/ScriptedAI","Act/AI/AI.act")
- PedSetActionNode(ped,"/Global/2_S04/Anim/RochambeauNIS/TrentGreet","Act/Conv/2_S04.act")
- SoundPlayAmbientSpeechEvent(ped,"GREET")
- end
- end
- if PedIsDoingTask(ped,"/Global/AI/Reactions/Triggered/GirlsBathroom/GirlNotice","Act/AI/AI_Reactions.act",true) then
- PedSetTaskNode(ped,"/Global/AI","Act/AI/AI.act")
- end
- if PedIsHit(gPlayer,2,50) then
- if PedGetWhoHitMeLast(gPlayer) == ped then
- if PedIsFemale(ped) then
- PedSetPunishmentPoints(ped,200)
- else
- PedSetPunishmentPoints(ped,100)
- end
- end
- end
- end
- if math.abs(x - x1) + math.abs(y - y1) + math.abs(z - z1) < 4 then
- if PedIsPlaying(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GirlFight",true) then
- if PedIsPlaying(ped,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/GirlFight",true) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/GrappleReversals/StandingReversals/GrappleBreak/Break_GIVE","Act/Globals.act")
- end
- end
- end
- end
- end
- end
- -- Movements:
- function IsFree()
- return PedHasWeapon(gPlayer,-1) and not PedGetFlag(gPlayer,2,true) and not PlayerIsInAnyVehicle() and
- PedIsPlaying(gPlayer,"/Global/Player/Default_KEY",true) or
- PedIsPlaying(gPlayer,"/Global/"..gData.Style.."/Default_KEY",true) or
- PedIsPlaying(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/WalkBasic",true) or
- PedIsPlaying(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/RunBasic",true) or
- PedIsPlaying(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/SprintBasic",true)
- end
- if gData.Style ~= "Player" and not gData.Is_Fighting then
- local qData = gData[69]
- -- Run Detection:
- if IsButtonBeingPressed(7,0) then
- qData.SprintPressed = qData.SprintPressed + 1
- qData.LastSprint = GetTimer()
- elseif GetTimer() >= qData.LastSprint + 300 then
- qData.SprintPressed = 0
- end
- -- Sprint Detection:
- if IsButtonBeingReleased(7,0) then
- qData.LastRun = GetTimer()
- end
- -- Doing Movement:
- if IsFree() then
- Sensitivity = 0.1
- -- Button Movement Detection [W][A][S][D]:
- if Sensitivity <= math.abs(GetStickValue(16,0)) + math.abs(GetStickValue(17,0)) and not IsButtonPressed(10,0) then
- -- Sign:
- qData.Moving = true
- -- Moving:
- if qData.SprintPressed > 1 then
- PedSetActionNode(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/SprintBasic","Act/Anim/"..gData.Style..".act")
- elseif IsButtonPressed(7,0) or GetTimer() < qData.LastRun + 200 then
- PedSetActionNode(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/RunBasic","Act/Anim/"..gData.Style..".act")
- else
- PedSetActionNode(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/WalkBasic","Act/Anim/"..gData.Style..".act")
- end
- -- Jump:
- if IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/Player/JumpActions/Jump", "Act/Anim/Player.act")
- end
- -- Grapple while running:
- if IsButtonBeingPressed(9,0) and PedIsValid(PedGetTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/RunningTakedown","Act/Globals.act")
- end
- -- Running Attacks:
- if IsButtonBeingPressed(6,0) and PedIsPlaying(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/RunBasic",true) then
- PedSetActionNode(gPlayer,"/Global/Actions/Offense/RunningAttacks/RunningAttacksDirect","Act/Globals.act")
- elseif IsButtonBeingPressed(6,0) and PedIsPlaying(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/SprintBasic",true) then
- PedSetActionNode(gPlayer,"/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
- end
- local Target = PedGetTargetPed(gPlayer)
- if PedIsValid(Target) and IsButtonPressed(10,0) then
- if PedIsPlaying(gPlayer,"/Global/"..gData.Style.."/Default_KEY/ExecuteNodes/Free/WalkBasic",true) then
- local x,y,z = PedGetPosXYZ(Target)
- PedFaceXYZ(gPlayer,x,y,z)
- end
- end
- elseif qData.Moving then
- -- Stoping Player:
- qData.Moving = false
- PedSetActionNode(gPlayer,"/Global/"..gData.Style,"Act/Anim/"..gData.Style..".act")
- end
- end
- end
- -- Health Regen:
- if PlayerGetHealth() <= PedGetMaxHealth(gPlayer) then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") and not (PedIsValid(Target) or PedIsValid(Grabbed)) then
- if gData.H_Regen + 1000 <= GetTimer() then
- PlayerSetHealth(PlayerGetHealth() + 5)
- if PlayerGetHealth() > PedGetMaxHealth(gPlayer) then
- PlayerSetHealth(PedGetMaxHealth(gPlayer))
- end
- gData.H_Regen = GetTimer()
- end
- end
- end
- -- No Tired:
- PedSetInfiniteSprint(gPlayer,true)
- if ClockGet() >= 23 or ClockGet() < 7 then
- PauseGameClock()
- elseif ClockGet() <= 23 or ClockGet() > 7 then
- if ClockIsPaused() and not MissionActive() then
- UnpauseGameClock()
- end
- end
- -- Immortal:
- PedSetFlag(gPlayer,58,true)
- if PlayerGetHealth() < 1 then
- PedSetActionNode(gPlayer,"/Global/1_07/KO_COLLAPSE","Act/Conv/1_07.act")
- PlayerSetHealth(50)
- end
- -- Trouble Metter limit:
- if PlayerGetPunishmentPoints() > gData.T_Limit then
- PlayerSetPunishmentPoints(gData.T_Limit)
- end
- --[[ Collectibles Hack:
- CollectibleOnMapEnable(0,true)
- CollectibleOnMapEnable(1,true)
- CollectibleOnMapEnable(2,true)
- CollectibleOnMapEnable(3,true)
- CollectibleOnMapEnable(4,true)
- CollectibleOnMapEnable(5,true)
- ]]
- -- Unlimited Tickets:
- ItemSetCurrentNum(495,99999)
- -- Unlimited Money:
- PlayerSetMoney(9999999)
- -- Unlimited Ammo (Fixed):
- if not PlayerIsInAnyVehicle() then
- local Weapons_Pack = {
- "301",
- "303",
- "305",
- "306",
- "307",
- "309",
- "312",
- "320",
- "321",
- "325",
- "328",
- "426",
- "437",
- "420",
- "394",
- "349",
- "396",
- }
- for WEAPON_NUMBER,WEAPONS in ipairs(Weapons_Pack) do
- if not PlayerHasItem(WEAPONS) then
- GiveWeaponToPlayer(WEAPONS,100)
- end
- end
- end
- PedSetFlag(gPlayer,24,true)
- if PedGetWeapon(gPlayer) ~= -1 and IsButtonBeingReleased(12,0) then
- GiveAmmoToPlayer(PedGetWeapon(gPlayer),50,false)
- end
- -- Unlock all clothes:
- if not gData.Owned then
- for ClothID,Clothes in ipairs(All_Clothes) do
- if not ClothingPlayerOwns(Clothes.model,Clothes.style) then
- ClothingGivePlayer(Clothes.model,Clothes.style)
- end
- end
- for OutfitID,Outfit in ipairs(All_Outfit) do
- ClothingGivePlayerOutfit(Outfit[1])
- end
- gData.Owned = true
- end
- -- Unlock all collectibles (Fixed):
- if IsMissionCompleated("1_B") then
- local CollectiblesSetCompleted = function()
- for CollectiblesID = 0,5 do
- if CollectiblesGetNumCollected(CollectiblesID) < CollectiblesGetNumCollectable(CollectiblesID) then
- CollectiblesSetAllAsCollected(CollectiblesID)
- end
- end
- end
- if GetCutsceneRunning() == 0 then
- CollectiblesSetCompleted()
- else
- if GetCutsceneTime() >= 5500 then
- CollectiblesSetCompleted()
- end
- end
- end
- -- Instant Lawn Mowing (Fixed):
- local L_Mowing = {
- "LawnMowing1a","LawnMowing1b","LawnMowing1c","LawnMowing2a","LawnMowing2b","LawnMowing2c",
- "LawnMowing3a","LawnMowing3b","LawnMowing3c","JobLawnMowing1a","JobLawnMowing1b","JobLawnMowing1c",
- "JobLawnMowing2a","JobLawnMowing2b","JobLawnMowing2c"
- }
- for Num,LM_Mission in ipairs(L_Mowing) do
- if MissionActiveSpecific(LM_Mission) then
- LawnMowingSetMinScore(5)
- end
- end
- -- Rapid Fire Guns:
- local AllowedToRFG = function()
- return not PlayerIsInAnyVehicle() and not PedGetFlag(gPlayer,2,true) and not (PedMePlaying(gPlayer,"TreeCheck",false) or PedMePlaying(gPlayer,"Dead",false) or PedMePlaying(gPlayer,"Climb_ON_BOT",false) or PedMePlaying(gPlayer,"HoistUp_Spawns",false))
- end
- if AllowedToRFG() then
- if IsButtonPressed(12,0) and (PedHasWeapon(gPlayer,305) or PedHasWeapon(gPlayer,396)) then
- if gData.RF_Gun.Spud + 300 <= GetTimer() then
- PedSetActionNode(gPlayer,"/Global/Gun","Act/Weapons/Gun.act")
- gData.RF_Gun.Spud = GetTimer()
- end
- end
- if PedHasWeapon(gPlayer,307) and IsButtonBeingReleased(12,0) then
- if gData.RF_Gun.Brocket + 300 <= GetTimer() then
- PedSetActionNode(gPlayer,"/Global/Gun","Act/Weapons/Gun.act")
- gData.RF_Gun.Brocket = GetTimer()
- end
- end
- end
- -- Cop Siren:
- if PlayerIsInAnyVehicle() then
- if VehicleIsModel(VehicleFromDriver(gPlayer),275) or VehicleIsModel(VehicleFromDriver(gPlayer),295) then
- if IsButtonBeingPressed(8,0) then
- gData.Vehicle_Siren = not gData.Vehicle_Siren
- VehicleEnableSiren(VehicleFromDriver(gPlayer),gData.Vehicle_Siren)
- end
- end
- end
- -- Riding Car:
- if VehicleIsValid(PlayerVehicle) then
- local PVx,PVy,PVz = VehicleGetPosXYZ(PlayerVehicle)
- if PedInRectangle(gPlayer,PVx + 4,PVy + 4,PVx - 4,PVy - 4) then
- if IsButtonBeingReleased(15,0) and not PlayerIsInAnyVehicle() and gData.Vehicle_Option > 10 then
- PedWarpIntoCar(gPlayer,PlayerVehicle)
- Wait(200)
- elseif IsButtonBeingReleased(15,0) and not PlayerIsInAnyVehicle() and gData.Vehicle_Option == 1 then
- PedPutOnBike(gPlayer,PlayerVehicle)
- Wait(200)
- end
- end
- end
- if VehicleIsValid(PedGetLastVehicle(gPlayer)) then
- local LastVehicle = PedGetLastVehicle(gPlayer)
- local LVx,LVy,LVz = VehicleGetPosXYZ(PedGetLastVehicle(gPlayer))
- if PedGetLastVehicle(gPlayer) ~= PlayerVehicle and PedInRectangle(gPlayer,LVx + 4,LVy + 4,LVx - 4,LVy - 4) then
- if IsButtonBeingReleased(15,0) and not PlayerIsInAnyVehicle() then
- if VehicleIsModel(LastVehicle,284) or VehicleIsModel(LastVehicle,286) or VehicleIsModel(LastVehicle,288) or VehicleIsModel(LastVehicle,289) or VehicleIsModel(LastVehicle,290) or VehicleIsModel(LastVehicle,291) or VehicleIsModel(LastVehicle,292) or VehicleIsModel(LastVehicle,293) or VehicleIsModel(LastVehicle,294) or VehicleIsModel(LastVehicle,295) or VehicleIsModel(LastVehicle,296) or VehicleIsModel(LastVehicle,297) then
- PedWarpIntoCar(gPlayer,LastVehicle)
- Wait(200)
- elseif VehicleIsModel(LastVehicle,275) then
- PedPutOnBike(gPlayer,LastVehicle)
- end
- end
- end
- end
- -- No Time Limit (Fixed):
- local PlayerStudies,PlayerFinsihedTheStudy = function()
- if gData.Func.InClass() and not gData.Studies and (AreaGetVisible() == 17 or AreaGetVisible() == 6 or AreaGetVisible() == 15) then
- return true
- end
- return false
- end,function()
- if not gData.Func.InClass() and gData.Studies and AreaGetVisible() ~= 17 and AreaGetVisible() ~= 6 and AreaGetVisible() ~= 15 then
- return true
- end
- return false
- end
- if PlayerStudies() then
- Wait(2000)
- gData.Studies,gData.StudyArt = true,false
- elseif PlayerFinsihedTheStudy() then
- gData.Studies,gData.StudyArt = false,true
- end
- if gData.Studies then
- if not gData.Func.InArt() and (AreaGetVisible() == 17 or AreaGetVisible() == 15 or AreaGetVisible() == 6) then
- ClassMathSetTimer(999999999)
- ClassEnglishSetTimer(999999999)
- ClassGeographySetTimer(999999999)
- ClassBiologySetTimer(999999999)
- elseif gData.Func.InArt() and AreaGetVisible() == 17 then
- if not gData.StudyArt then
- MGCA_SetPlayerSpeed(1)
- MGCA_SetEnemySpeed(0,0)
- MGCA_SetEnemySpeed(1,0)
- MGCA_SetEnemySpeed(2,0)
- MGCA_SetEnemySpeed(3,0)
- MGCA_SetEnemySpeed(4,0)
- if MissionActiveSpecific("C_ART_5") then
- MGCA_SetExploderTimeOut(0)
- MGCA_SetExploderDebrisCount(1)
- MGCA_SetExploderDebrisSpeed(0)
- MGCA_SetSetPowerUpClearRadius(1)
- end
- gData.StudyArt = true
- end
- end
- end
- if MissionActive() then
- if not gData.Func.InClass() then
- if MissionTimerGetTimeRemaining() > 0 then
- MissionTimerStop()
- end
- end
- end
- --[[ Completing Lesson in 1 minutes:
- if gData.Func.InGeo() then
- if gData.TimeLimit + 60000 <= GetTimer() then
- ClassGeographySuccess(true)
- gData.TimeLimit = GetTimer()
- end
- elseif gData.Func.InArt() then
- if gData.TimeLimit + 60000 <= GetTimer() then
- ArtSuccess(true)
- gData.TimeLimit = GetTimer()
- end
- elseif gData.Func.InBio() then
- if gData.TimeLimit + 60000 <= GetTimer() then
- ClassBiologySuccess(true)
- gData.TimeLimit = GetTimer()
- end
- else
- gData.TimeLimit = GetTimer()
- end]]
- -- No Clip:
- local AllowedToNC = function()
- return not PedIsValid(Target) and not PlayerIsInAnyVehicle() and not gData.Is_Busy and not gData.Is_Fighting and not gData.Func.IsMoving()
- end
- if IsButtonBeingPressed(8,0) and AllowedToNC() then
- if gData.NoClip.Touch1 and GetTimer() < gData.NoClip.Touch1 + 500 then
- if gData.NoClip.Touch2 and GetTimer() < gData.NoClip.Touch2 + 500 then
- if gData.NoClip.Active then
- CameraReturnToPlayer()
- gData.Func.ForceStop(gPlayer)
- PedSetEffectedByGravity(gPlayer,true)
- gData.NoClip.Active = false
- else
- PedSetWeaponNow(gPlayer,-1,0)
- gData.NoClip.CP,gData.NoClip.CH = 0,PedGetHeading(gPlayer)
- gData.NoClip[69].Select,gData.NoClip.FreeCam,gData.NoClip.Active = 2,false,true
- end
- else
- gData.NoClip.Touch2 = GetTimer()
- end
- else
- gData.NoClip.Touch1 = GetTimer()
- end
- end
- if gData.NoClip.Active then
- if IsButtonBeingPressed(11,0) then
- local Option = gData.NoClip[69]
- Option.Select = Option.Select + 1
- if Option.Select > 4 then Option.Select = 2 end
- end
- PedSetWeapon(gPlayer,-1,0)
- if not PedIsPlaying(gPlayer,"/Global/1_06/HoboFly",true) then
- PedSetActionNode(gPlayer,"/Global/1_06/HoboFly","Act/Conv/1_06.act")
- end
- PedSetEffectedByGravity(gPlayer,false)
- gData.NoClip.CP,gData.NoClip.CH = gData.NoClip.CP + (GetStickValue(14,0)-GetStickValue(15,0))/20,gData.NoClip.CH + (GetStickValue(8,0)-GetStickValue(6,0))/20
- local Speed,PPx,PPy,PPz = IsButtonPressed(7,0) and 7 or IsButtonPressed(14,0) and 0.05 or 1,PlayerGetPosXYZ()
- local X1,Y1 = gData.Func.ForwardDir2D(gData.NoClip.CH,GetStickValue(17,0)/10*7)
- local X2,Y2 = gData.Func.ForwardDir2D(gData.NoClip.CH+math.pi/2,GetStickValue(16,0)/10*7)
- if IsButtonBeingPressed(2,0) then
- gData.NoClip.FreeCam = not gData.NoClip.FreeCam
- if gData.NoClip.FreeCam then
- local Cx,Cy,Cz = gData.Func.ForwardDir3D(gData.NoClip.CP,gData.NoClip.CH,-gData.NoClip.Dist*0.04)
- gData.NoClip.FCx,gData.NoClip.FCy,gData.NoClip.FCz = PPx + Cx,PPy + Cy,PPz + Cz + 1.5
- else
- gData.NoClip.FreeCam,gData.NoClip.FCx,gData.NoClip.FCy,gData.NoClip.FCz = false,nil,nil,nil
- end
- elseif gData.NoClip.FreeCam then
- gData.NoClip.FCx,gData.NoClip.FCy,gData.NoClip.FCz = gData.NoClip.FCx + X1 + X2,gData.NoClip.FCy + Y1 + Y2,gData.NoClip.FCz + gData.NoClip[69][gData.NoClip[69].Select][2]
- else
- PPx,PPy,PPz = PPx + X1 + X2,PPy + Y1 + Y2,PPz + gData.NoClip[69][gData.NoClip[69].Select][2]
- PlayerFaceHeading(gData.NoClip.CH)
- PlayerSetPosSimple(PPx,PPy,PPz)
- end
- local Cx,Cy,Cz = gData.Func.ForwardDir3D(gData.NoClip.CP,gData.NoClip.CH,-gData.NoClip.Dist*0.04)
- local CPx,CPy,CPz,CFx,CFy,CFz = gData.NoClip.FCx or PPx + Cx,gData.NoClip.FCy or PPy + Cy,gData.NoClip.FCz or PPz + Cz + 1.5,gData.NoClip.FCx and gData.NoClip.FCx - Cx or PPx,gData.NoClip.FCy and gData.NoClip.FCy - Cy or PPy,gData.NoClip.FCz and gData.NoClip.FCz - Cz or PPz + 1.5
- CameraSetXYZ(CPx,CPy,CPz,CFx,CFy,CFz)
- end
- -- Ped Voice:
- if not PedIsModel(gPlayer,0) and PedIsValid(Target) and not PedIsValid(Grabbed) and not gData.Is_Busy and not gData.Is_Fighting then
- if IsButtonBeingPressed(7,0) and not PedIsPlaying(Target,"/Global/"..PedGetActionTree(Target).."/Default_KEY/ExecuteNodes/LocomotionOverride/Combat",true) and not PlayerIsInAnyVehicle() then
- local Talk
- if PedIsFemale(Target) then
- Talk = {
- "GREET",
- "GREET_HOT_GIRL",
- "GREET_GIRL_WON",
- "GREET_GIRL_WON",
- }
- else
- Talk = {
- "GREET",
- --"GREET_CLOTHES_LIKE",
- --"GREET_PANTS_LIKE",
- --"GREET_PLAYER_CLOTHES_LIKE",
- --"GREET_PLAYER_HAIRCUT_LIKE",
- --"GREET_PLAYER_HAT_LIKE",
- --"GREET_PLAYER_PANTS_LIKE",
- --"GREET_PLAYER_SHIRT_LIKE",
- --"GREET_PLAYER_SHOES_LIKE",
- --"GREET_PLAYER_TATTOO_LIKE",
- }
- end
- SoundPlayAmbientSpeechEvent(gPlayer,Talk[math.random(1,table.getn(Talk))])
- elseif IsButtonBeingReleased(8,0) and not PedIsPlaying(gPlayer,"/Global/Player/JumpActions/Jump",true) then
- local Taunt
- if PedIsFemale(PedGetTargetPed(gPlayer)) then
- Taunt = {
- "TAUNT",
- "TAUNT_HARASS",
- --"TAUNT_NEW_KID",
- }
- else
- Taunt = {
- "TAUNT",
- "TAUNT_HARASS",
- "VICTIMIZED",
- "VICTMIZING",
- }
- end
- SoundPlayAmbientSpeechEvent(gPlayer,Taunt[math.random(1,table.getn(Taunt))])
- elseif PedIsPlaying(gPlayer,"/Global/Player/Social_Actions/HarassMoves",true) and not gData.Voice.PlayerHarass then
- SoundPlayAmbientSpeechEvent(gPlayer,"TAUNT_HARASS")
- gData.Voice.PlayerHarass = true
- elseif not PedIsPlaying(gPlayer,"/Global/Player/Social_Actions/HarassMoves",true) and gData.Voice.PlayerHarass then
- gData.Voice.PlayerHarass = false
- elseif PedIsPlaying(gPlayer,"/Global/Player/Gifts",true) and not gData.Voice.Gifts then
- SoundPlayAmbientSpeechEvent(gPlayer,"CONGRATULATIONS")
- gData.Voice.Gifts = true
- elseif not PedIsPlaying(gPlayer,"/Global/Player/Gifts",true) and gData.Voice.Gifts then
- gData.Voice.Gifts = false
- elseif PedIsPlaying(gPlayer,"/Global/HitTree/Standing/Ranged/Bomb/Stinky",true) and not gData.Voice.Stinky then
- SoundPlayAmbientSpeechEvent(gPlayer,"DISGUST")
- gData.Voice.Stinky = true
- elseif not PedIsPlaying(gPlayer,"/Global/HitTree/Standing/Ranged/Bomb/Stinky",true) and gData.Voice.Stinky then
- gData.Voice.Stinky = false
- elseif PlayerGetHealth() < 1 and not gData.Voice.Hurts then
- SoundPlayAmbientSpeechEvent(gPlayer,"DEFEAT_INDIVIDUAL")
- gData.Voice.Hurts = true
- elseif PlayerGetHealth() > 1 and gData.Voice.Hurts then
- gData.Voice.Hurts = false
- elseif PedIsPlaying(gPlayer,"/Global/Player/Social_Actions/PositiveReaction/Apology",true) and not gData.Voice.Apology then
- SoundPlayAmbientSpeechEvent(gPlayer,"CONVERSATION_END")
- gData.Voice.Apology = true
- elseif not PedIsPlaying(gPlayer,"/Global/Player/Social_Actions/PositiveReaction/Apology",true) and gData.Voice.Apology then
- gData.Voice.Apology = false
- end
- end
- --[[
- --Allies check: (No more)
- for Allies_ID = 1,table.getn(gData.CurrentAllies) do
- local Allies = gData.CurrentAllies[Allies_ID]
- if PedIsValid(Allies) and PedGetHealth(Allies) < 1 or not PedIsValid(Allies) then
- table.remove(gData.CurrentAllies,Allies_ID)
- end
- end
- ]]
- -- All doors unlocked:
- for DOORS_ID,DOOR in ipairs(Doors) do
- AreaSetDoorLocked(DOOR,false)
- end
- Wait(0)
- end
- end
- UM_FixBugs = function()
- while true do
- if not PedIsModel(gPlayer,0) then
- -- Clothing Manager:
- if shared.PlayerInClothingManager then
- PlayerSwapModel("player")
- repeat
- Wait(0)
- until not shared.PlayerInClothingManager
- PlayerSwapModel(gData.Model)
- gData.Func.SetStyle(gPlayer,"Player")
- if gData.Is_Fighting then
- gData.Func.SetStyle(gPlayer,gData.Style)
- end
- end
- -- Shoping:
- if shared.playerShopping then
- PlayerSwapModel("player")
- repeat
- Wait(0)
- until not shared.playerShopping
- PlayerSwapModel(gData.Model)
- gData.Func.SetStyle(gPlayer,"Player")
- if gData.Is_Fighting then
- gData.Func.SetStyle(gPlayer,gData.Style)
- end
- end
- -- Unsupported model in mission:
- local Unsupported_Mission = {
- "1_02B","3_08","2_08","2_09","3_01C","4_05","4_06","6_01","5_03","3_R09_J3",
- "C_WRESTLING_1","C_WRESTLING_2","C_WRESTLING_3","C_WRESTLING_4","C_WRESTLING_5",
- "1_11x1","1_11x2","3_R09_P3","2_R11_Chad","2_R11_Bryce","2_R11_Justin","2_R11_Parker",
- "2_R11_Random","C_Dodgeball_1","C_Dodgeball_2","C_Dodgeball_3","C_Dodgeball_4",
- "C_Dodgeball_5"
- }
- for i,v in ipairs(Unsupported_Mission) do
- if MissionActiveSpecific(v) and not PedIsModel(gPlayer,0) then
- gData.Func.SwapModel(gPlayer,"player","Player")
- end
- end
- -- Annoying newsroll bug:
- if PlayerIsInAnyVehicle() and PlayerHasItem(320) then
- RemovePlayerItem(320)
- end
- -- Fix fighting style bug:
- if not gData.Is_Fighting and not gData.Is_Busy then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") and PedHasWeapon(gPlayer,-1) and not PlayerIsInAnyVehicle() then
- if IsButtonBeingPressed(6,0) then
- if not PedIsPlaying(gPlayer,"/Global/Player",true) then
- gData.Func.SetStyle(gPlayer,"Player")
- end
- end
- if not gData.Func.IsMoving() then
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- end
- end
- PedSetFlag(gPlayer,50,false)
- end
- end
- Wait(0)
- end
- end
- UM_Movements = function()
- while true do
- local Target,Grabbed = PedGetTargetPed(gPlayer),PedGetGrappleTargetPed(gPlayer)
- F_InBoxingOrGym = function()
- local Missions = {
- "3_R09_P3","2_R11_Chad","2_R11_Bryce","2_R11_Justin","2_R11_Parker",
- "2_R11_Random","3_R09_J3","C_Wrestling_1","C_Wrestling_2","C_Wrestling_3",
- "C_Wrestling_4","C_Wrestling_5","C_Dodgeball_1","C_Dodgeball_2","C_Dodgeball_3",
- "C_Dodgeball_4","C_Dodgeball_5"
- }
- for MISSION_ID,MISSION in ipairs(Missions) do
- if MissionActiveSpecific(MISSION) then
- return true
- end
- end
- return false
- end
- if gData.Is_Fighting and not PedIsValid(Grabbed) and not F_InBoxingOrGym() then
- -- This is not the correct order of Jimmy BETA Fighting Style, only deadpoolXYZ know the original BETA 5 punches combo:
- if gData.Style == "James_BETA" then
- if IsButtonBeingPressed(7,0) and gData.James_BETA.Combo == 1 and PedHasWeapon(gPlayer,-1) and PedMePlaying(gPlayer,"DEFAULT_KEY") then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB","Act/Anim/Nemesis.act")
- while PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB",true) do
- if PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut",true) then
- PlayerStopAllActionControllers()
- break
- end
- Wait(0)
- end
- gData.James_BETA.Combo = 2
- elseif IsButtonBeingPressed(6,0) and gData.James_BETA.Combo == 2 then
- PedSetActionNode(gPlayer,"/Global/Player/Attacks/GroundAttacks/GroundAttacks/Strikes/HeavyAttacks/GroundKick","act/anim/Player.act")
- gData.James_BETA.Combo = 1
- elseif IsButtonBeingPressed(7,0) and gData.James_BETA.Combo == 2 then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross","Act/Anim/Nemesis.act")
- while PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross",true) do
- if PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross/HeavyAttacks",true) then
- PlayerStopAllActionControllers()
- break
- end
- Wait(0)
- end
- gData.James_BETA.Combo = 3
- elseif IsButtonPressed(6,0) and gData.James_BETA.Combo == 3 then
- PedSetActionNode(gPlayer,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Release/Unblockable/LegKickReleaseMax","Act/Anim/Player.act")
- gData.James_BETA.Combo = 1
- elseif IsButtonBeingPressed(7,0) and gData.James_BETA.Combo == 3 then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook","Act/Anim/Nemesis.act")
- while PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook",true) do
- if PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/LeftHook/RightCross",true) then
- PlayerStopAllActionControllers()
- break
- end
- Wait(0)
- end
- gData.James_BETA.Combo = 4
- elseif IsButtonPressed(6,0) and gData.James_BETA.Combo == 4 then
- PedSetActionNode(gPlayer,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/Unblockable","Act/Anim/Player.act")
- gData.James_BETA.Combo = 1
- elseif IsButtonBeingPressed(7,0) and gData.James_BETA.Combo == 4 then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut","Act/Anim/Nemesis.act")
- while PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut",true) do
- if PedIsPlaying(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/LightAttacks/JAB/HeavyAttacks/SuperUppercut/Knee",true) then
- PlayerStopAllActionControllers()
- break
- end
- Wait(0)
- end
- gData.James_BETA.Combo = 5
- elseif IsButtonBeingPressed(6,0) and gData.James_BETA.Combo == 5 then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Offense/Medium/Strikes/HeavyAttacks/JackieKick","Act/Anim/Nemesis.act")
- gData.James_BETA.Combo = 1
- elseif IsButtonBeingPressed(7,0) and gData.James_BETA.Combo == 5 then
- PedSetActionNode(gPlayer,"/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Left5/Release/UpperCut","act/anim/Player.act")
- gData.James_BETA.Combo = 1
- end
- elseif gData.Style == "Nemesis" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if IsButtonBeingPressed(6,0) then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Offense/Short/Strikes/HeavyAttacks/HeavyPunch1","Act/Anim/Nemesis.act")
- elseif IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Offense/Medium/Strikes/HeavyAttacks/JackieKick","Act/Anim/Nemesis.act")
- elseif IsButtonBeingPressed(11,0) then
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetFlag(gPlayer,87,true)
- ExecuteActionNode(gPlayer,"/Global/Nemesis/Offense/Medium/Strikes/LightAttacks/OverHandR","act/anim/Nemesis.act")
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(9,0) then
- if MissionActiveSpecific("6_B") then
- if PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/Nemesis/Special/GarySpecialGrapple","Act/Anim/Nemesis.act")
- end
- else
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- end
- end
- end
- elseif gData.Style == "B_Striker_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if PedIsModel(gPlayer,176) or PedIsModel(gPlayer,75) then
- local Random_Taunt = math.random(1,6)
- local Russell_Taunt = {2,5,7,8,10,12}
- if IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,3)
- local Punch = {
- {"/Global/Russell_102/Offense/Short/Medium/RisingAttacks","act/anim/Russell_102.act"},
- {"/Global/BOSS_Russell/Defense/Evade/EvadeInterrupt/EvadeInterrupt","act/anim/BOSS_Russell.act"},
- {"/Global/BOSS_Russell/Offense/Medium/Strikes/Unblockable/DoubleAxeHandle","act/anim/BOSS_Russell.act"},
- }
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- SoundPlayScriptedSpeechEvent(gPlayer,"M_1_B",Russell_Taunt[Random_Taunt],"large")
- elseif IsButtonBeingPressed(7,0) then
- local Random_Attacks = math.random(1,3)
- if Random_Attacks == 3 then
- PedSetActionNode(gPlayer,"/Global/BOSS_Russell/Offense/Short/Strikes/LightAttacks/OverHand","act/anim/BOSS_Russell.act")
- end
- elseif IsButtonBeingPressed(8,0) and PedIsValid(Target) then
- PedSetAITree(gPlayer,"/Global/RusselAI","Act/AI/AI_RUSSEL_1_B.act")
- PedSetFlag(gPlayer,87,true)
- PedSetActionNode(gPlayer,"/Global/BOSS_Russell/Offense/Special/Invincible/HeadButt/HeadButt_AnticStart","act/anim/BOSS_Russell.act")
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- SoundPlayScriptedSpeechEvent(gPlayer,"M_1_B",Russell_Taunt[Random_Taunt],"large")
- elseif IsButtonBeingPressed(9,0) and PedIsValid(Target) then
- PedSetAITree(gPlayer,"/Global/RusselAI","Act/AI/AI_RUSSEL_1_B.act")
- PedSetFlag(gPlayer,87,true)
- PedSetActionNode(gPlayer,"/Global/BOSS_Russell/Offense/Special/Invincible/BarserkGrapple","act/anim/BOSS_Russell.act")
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- SoundPlayScriptedSpeechEvent(gPlayer,"M_1_B",Russell_Taunt[Random_Taunt],"large")
- elseif IsButtonBeingPressed(15,0) then
- PedSetActionNode(gPlayer,"/Global/BOSS_Russell/Offense/GroundAttack/GroundStomp1","act/anim/BOSS_Russell.act")
- SoundPlayScriptedSpeechEvent(gPlayer,"M_1_B",Russell_Taunt[Random_Taunt],"large")
- elseif IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb","Globals/BOSS_Russell.act")
- SoundPlayScriptedSpeechEvent(gPlayer,"M_1_B",Russell_Taunt[Random_Taunt],"large")
- end
- end
- else
- if IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/B_Striker_A/Offense/Short/Strikes/HeavyAttacks/SwingPunch/SwingPunch_R","act/anim/B_Striker_A.act"},
- {"/Global/B_Striker_A/Offense/Short/Strikes/HeavyAttacks/GutKick/GutKick_R","act/anim/B_Striker_A.act"},
- }
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- elseif IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/B_Striker_A/Offense/Short/Strikes/HeavyAttacks/GutKick/GutKick_R","act/anim/B_Striker_A.act")
- elseif IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/RunningTakedown","Act/Globals.act")
- end
- end
- end
- elseif gData.Style == "P_Striker_A" then
- if PedGetWeapon(gPlayer) ~= -1 then
- PedSetWeaponNow(gPlayer,-1)
- end
- if PedIsPlaying(gPlayer,"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/LeftHook","act/anim/P_Striker_A.act") then
- while PedIsPlaying(gPlayer,"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/LeftHook",true) and not PedIsPlaying(gPlayer,"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/LeftHook/FinishingCross",true) do
- Wait(0)
- end
- local random_attacks = math.random(1,2)
- if random_attacks == 1 then
- PedSetActionNode(gPlayer,"/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/LeftHook/FinishingCross","act/anim/P_Striker_A.act")
- else
- PedSetActionNode(gPlayer,"/Global/P_Striker_A/Offense/Short/Strikes/HeavyAttacks/Uppercut","act/anim/P_Striker_A.act") end
- end
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if PedIsModel(gPlayer,37) or PedIsModel(gPlayer,218) then
- if IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/BOSS_Darby/Offense/NonCombatActions/Hopback","act/anim/BOSS_Darby.act")
- elseif IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw", "act/anim/BOSS_Darby.act"},
- {"/Global/BOSS_Darby/Offense/Short/Grapples/HeavyAttacks/Catch_Throw/Finisher", "act/anim/BOSS_Darby.act"},
- }
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/BOSS_Darby/Offense/Short/Strikes/Unblockable/HeavyPunchCharge/HeavyPunch","act/anim/BOSS_Darby.act")
- elseif IsButtonBeingPressed(7,0) then
- local Random_Attacks = math.random(1,4)
- if Random_Attacks == 3 then
- PedSetActionNode(gPlayer,"/Global/BOSS_Darby/Offense/Short/Strikes/LightAttacks/LeftHook", "act/anim/BOSS_Darby.act")
- end
- end
- elseif PedIsModel(gPlayer,33) or PedIsModel(gPlayer,133) or PedIsModel(gPlayer,172) or PedIsModel(gPlayer,243) then
- if IsButtonBeingPressed(7,0) then
- PedSetAITree(gPlayer,"/Global/AI_BOXER","Act/AI/AI_BOXER.act")
- PedSetFlag(gPlayer,87,true)
- PedSetActionNode(gPlayer,"/Global/P_Bif/Offense/Short/LightAttacks","act/anim/P_Bif.act")
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/P_Bif/Offense/Short/HeavyAttacks/LeftHook","act/anim/P_Bif.act"},
- {"/Global/P_Bif/Offense/Short/HeavyAttacks/RightHook","act/anim/P_Bif.act"},
- }
- PedSetAITree(gPlayer,"/Global/AI_BOXER","Act/AI/AI_BOXER.act")
- PedSetFlag(gPlayer,87,true)
- PedSetActionNode(gPlayer,"/Global/P_Bif/Offense/Medium/HeavyAttacks/GutPunch","act/anim/P_Bif.act")
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(15,0) then
- PedSetAITree(gPlayer,"/Global/AI_BOXER","Act/AI/AI_BOXER.act")
- PedSetFlag(gPlayer,87,true)
- PedSetActionNode(gPlayer,"/Global/P_Bif/Offense/Medium/HeavyAttacks/StraightPunch","act/anim/P_Bif.act")
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- end
- else
- if IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/P_Striker_A/Offense/Short/Strikes/HeavyAttacks/Uppercut","act/anim/P_Striker_A.act")
- elseif IsButtonBeingPressed(6,0) then
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetFaction(gPlayer,5)
- PedSetActionNode(gPlayer,"/Global/P_Striker_A/Offense/Medium/HeavyAttacks","act/anim/P_Striker_A.act")
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- PedSetFaction(gPlayer,13)
- end
- for i,ped in {PedFindInAreaXYZ(0,0,0,99999)} do
- if PedIsValid(ped) and ped ~= gPlayer then
- if PedGetTargetPed(ped) == gPlayer and PedIsPlaying(ped,"/Global/"..PedGetActionTree(ped).."/Offense",true) or PedIsPlaying(ped,"/Global/"..PedGetActionTree(ped).."/Attacks",true) then
- local x,y,z = PlayerGetPosXYZ()
- local x1,y1,z1 = PedGetPosXYZ(ped)
- if math.abs(x - x1) + math.abs(y - y1) + math.abs(z - z1) < 3 then
- PlayerSetControl(0)
- PedAttack(gPlayer,ped,1)
- PedFaceXYZ(gPlayer,x1,y1,z1)
- local CurrentHealth,MaxHealth = PlayerGetHealth(),PedGetMaxHealth(gPlayer)
- PedSetStatsType(gPlayer,"STAT_P_STRIKER_A")
- PedSetAITree(gPlayer,"/Global/AI","Act/AI/AI.act")
- local Stat = {[8] = 0,[12] = 0,[13] = 999,[38] = 100,[39] = 100}
- for Num,Stats in ipairs(Stat) do
- GameSetPedStat(gPlayer,Num,Stats)
- end
- Wait(200)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- PedSetStatsType(gPlayer,"STAT_PLAYER")
- PedSetMaxHealth(gPlayer,MaxHealth)
- PlayerSetHealth(CurrentHealth)
- PlayerSetControl(1)
- end
- end
- end
- end
- end
- end
- elseif gData.Style == "P_Striker_B" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/P_Striker_B/Offense/Short/Strikes/HeavyAttacks/Hook2","act/anim/P_Striker_B.act"},
- {"/Global/P_Striker_B/Offense/Short/Strikes/Unblockable/HeavyPunchCharge","act/anim/P_Striker_B.act"},
- }
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- elseif IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/P_Striker_B/Offense/Short/Grapples/HeavyAttacks/Catch_Throw","act/anim/P_Striker_B.act")
- elseif IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/P_Striker_B/Defense/Evade/EvadeBack/EvadeBack","act/anim/P_Striker_B.act")
- end
- end
- elseif gData.Style == "P_Grappler_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if IsButtonBeingPressed(6,0) then
- PedSetActionNode(gPlayer,"/Global/P_Grappler_A/Offense/Short/Strikes/Unblockable/HeavyPunchCharge","act/anim/P_Grappler_A.act")
- elseif IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/P_Grappler_A/Offense/Medium/Strikes/Kick/TauntKick","act/anim/P_Grappler_A.act")
- elseif IsButtonBeingPressed(11,0) then
- local Random_Evades = math.random(1,2)
- local Evades = {
- {"/Global/P_Grappler_A/Offense/NonCombatActions/Hopback","act/anim/P_Grappler_A.act"},
- {"/Global/P_Grappler_A/Defense/Evade/EvadeBack/Evade","act/anim/P_Grappler_A.act"},
- }
- PedSetActionNode(gPlayer,Evades[Random_Evades][1],Evades[Random_Evades][2])
- end
- end
- elseif gData.Style == "G_Striker_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if PedIsModel(gPlayer,23) or PedIsModel(gPlayer,217) then
- if IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,3)
- local Punch = {
- {"/Global/G_Johnny/Offense/Medium/Strikes/HeavyAttack","act/anim/G_Johnny.act"},
- {"/Global/G_Johnny/Offense/Medium/Strikes/HeavyAttack/HeavyKick","act/anim/G_Johnny.act"},
- {"/Global/G_Johnny/Offense/Short/Strikes/HeavyKick/HeavyKick","act/anim/G_Johnny.act"},
- }
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetFlag(gPlayer,87,true)
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
- elseif IsButtonBeingPressed(8,0) and PedIsValid(Target) then
- if PedIsPlaying(Target,"/Global/HitTree",true) then
- PedSetActionNode(gPlayer,"/Global/G_Striker_A/Offense/GroundAttack/GroundPunch","Act/Anim/G_Striker_A.act")
- else
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/G_Johnny/Offense/Short/Strikes/HeavyKick/HeavyKick/Grabknees","act/anim/G_Johnny.act")
- end
- end
- elseif IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/G_Johnny/Offense/Special/SpecialActions/LightAttacks","act/anim/G_Johnny.act")
- elseif IsButtonBeingPressed(9,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/G_Johnny/Offense/Special/SpecialActions/Grapples/Dash","Act/Anim/G_Johnny.act")
- end
- else
- if IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/G_Striker_A/Offense/Medium/Strikes/HeavyAttack/KickThrust","act/anim/G_Striker_A.act"},
- {"/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKick","act/anim/G_Striker_A.act"}
- }
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(9,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKick/GrabKnees","act/anim/G_Striker_A.act")
- end
- elseif IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/G_Striker_A/Offense/Short/Strikes/HeavyAttacks/HeavyKnee","act/anim/G_Striker_A.act")
- elseif IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/G_Striker_A/Offense/GroundAttack/GroundPunch","Act/Anim/G_Striker_A.act")
- end
- end
- end
- elseif gData.Style == "G_Melee_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/G_Melee_A/Offense/Medium/Strikes/HeavyAttacks","act/anim/G_Melee_A.act"},
- {"/Global/G_Melee_A/Offense/Medium/Strikes/HeavyAttacks/HeavyKick","act/anim/G_Melee_A.act"},
- }
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(9,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleOpps/Melee/Greaser/GrabKnees","Globals/G_Melee_A.act")
- end
- elseif IsButtonBeingPressed(11,0) then
- PedSetActionNode(gPlayer,"/Global/G_Melee_A/Offense/Short/Strikes/HeavyAttacks","act/anim/G_Melee_A.act")
- elseif IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/G_Melee_A/Offense/GroundAttack/GroundPunch","Act/Anim/G_Melee_A.act")
- end
- end
- elseif gData.Style == "G_Grappler_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if PedIsValid(Target) then
- if IsButtonBeingPressed(9,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BearHug","Globals/G_Grappler_A.act")
- end
- end
- end
- end
- elseif gData.Style == "J_Striker_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if PedIsModel(gPlayer,205) or PedIsModel(gPlayer,12) or PedIsModel(gPlayer,112) or PedIsModel(gPlayer,168) then
- if IsButtonBeingPressed(6,0) then
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetActionNode(gPlayer,"/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAtempt/Takedown","act/anim/J_Striker_A.act")
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(8,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/J_Damon/Offense/SpecialStart/StartRun","act/anim/J_Damon.act")
- end
- elseif PedIsModel(gPlayer,216) or PedIsModel(gPlayer,19) or PedIsModel(gPlayer,110) then
- if IsButtonBeingPressed(8,0) then
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetActionNode(gPlayer,"/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAtempt/Takedown","act/anim/J_Striker_A.act")
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- elseif IsButtonBeingPressed(6,0) then
- PedSetActionNode(gPlayer,"/Global/J_Ted/Offense/Short/Strikes/LightAttacks/JAB/Elbow/HeavyAttacks/Uppercut","act/anim/J_Ted.act")
- end
- else
- if IsButtonBeingPressed(6,0) then
- PedSetActionNode(gPlayer,"/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAtempt/Takedown","act/anim/J_Striker_A.act")
- end
- end
- end
- elseif gData.Style == "J_Grappler_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if PedIsValid(Target) then
- if IsButtonBeingPressed(9,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BackBreaker","Globals/J_Grappler_A.act")
- end
- elseif IsButtonBeingPressed(6,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BodySlam","Globals/J_Grappler_A.act")
- end
- end
- end
- if IsButtonBeingPressed(7,0) then
- PedSetActionNode(gPlayer,"/Global/J_Grappler_A/Offense/Medium/Strikes/HeavyAttacks/RightPunch","act/anim/J_Grappler_A.act")
- end
- end
- elseif gData.Style == "DO_Grappler_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if IsButtonBeingPressed(8,0) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/RunningTakedown","Act/Globals.act")
- Wait(1500)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/Actions/Grapples/Mount/MountOpps/Dropout/HeadButt","Globals/DO_Grappler_A.act"},
- {"/Global/Actions/Grapples/Mount/MountOpps/Dropout/KneeDrop","Globals/DO_Grappler_A.act"}
- }
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- end
- end
- end
- elseif gData.Style == "DO_Striker_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if IsButtonBeingPressed(6,0) then
- local Random_Attacks = math.random(1,2)
- local Punch = {
- {"/Global/DO_Edgar/Offense/Short/LightAttacks/Punch1/Punch2/HeavyAttacks/Punch3","Act/DO_Edgar.act"},
- {"/Global/DO_Striker_A/Offense/Medium/HeavyAttacks","act/anim/DO_Striker_A.act"},
- }
- PedSetActionNode(gPlayer,Punch[Random_Attacks][1],Punch[Random_Attacks][2])
- elseif IsButtonBeingPressed(8,0) then
- PedSetAITree(gPlayer,"/Global/AI_EDGAR_5_B","Act/AI/AI_EDGAR_5_B.act")
- PedSetFlag(gPlayer,87,true)
- PedSetActionNode(gPlayer,"/Global/DO_Edgar/Defense/Evade/Evade_Duck","act/anim/DO_Edgar.act")
- PedSetFlag(gPlayer,87,false)
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- end
- end
- end
- end
- if gData.Style == "GS_Male_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") then
- if PedIsModel(gPlayer,56) or PedIsModel(gPlayer,76) or PedIsModel(gPlayer,77) or PedIsModel(gPlayer,84) or PedIsModel(gPlayer,86) or PedIsModel(gPlayer,89) or PedIsModel(gPlayer,100) or PedIsModel(gPlayer,101) or PedIsModel(gPlayer,103) or PedIsModel(gPlayer,104) or PedIsModel(gPlayer,105) or PedIsModel(gPlayer,108) or PedIsModel(gPlayer,113) or PedIsModel(gPlayer,114) or PedIsModel(gPlayer,115) or PedIsModel(gPlayer,116) or PedIsModel(gPlayer,123) or PedIsModel(gPlayer,124) or PedIsModel(gPlayer,127) or PedIsModel(gPlayer,128) or PedIsModel(gPlayer,144) or PedIsModel(gPlayer,148) or PedIsModel(gPlayer,149) or PedIsModel(gPlayer,152) or PedIsModel(gPlayer,156) or PedIsModel(gPlayer,187) or PedIsModel(gPlayer,190) or PedIsModel(gPlayer,194) or PedIsModel(gPlayer,195) or PedIsModel(gPlayer,222) or PedIsModel(gPlayer,223) or PedIsModel(gPlayer,237) or PedIsModel(gPlayer,236) or PedIsModel(gPlayer,252) or PedIsModel(gPlayer,253) or PedIsModel(gPlayer,254) then
- if IsButtonBeingPressed(9,0) and PedIsValid(Target) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleAttempt","Act/Globals.act")
- Wait(200)
- if PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Adult_Takedown","Act/Globals.act")
- end
- end
- end
- end
- elseif gData.Style == "GS_Female_A" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") and PedIsValid(Target) then
- if PedIsModel(gPlayer,78) or PedIsModel(gPlayer,79) or PedIsModel(gPlayer,80) or PedIsModel(gPlayer,81) or PedIsModel(gPlayer,120) or PedIsModel(gPlayer,143) or PedIsModel(gPlayer,191) or PedIsModel(gPlayer,192) or PedIsModel(gPlayer,193) then
- if IsButtonBeingPressed(9,0) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/EarGrab","act/anim/Authority.act")
- end
- end
- end
- elseif gData.Style == "Authority" then
- if PedMePlaying(gPlayer,"DEFAULT_KEY") and PedIsValid(Target) then
- if IsButtonBeingPressed(9,0) then
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/Tonfa_Impale/TonfaImpale","Globals/Authority.act")
- end
- end
- elseif gData.Style == "B_Striker_A" then
- if PedIsPlaying(gPlayer,"/Globa/Actions/Grapples/Mount/MountIdle/GIVE",true) then
- if IsButtonBeingPressed(6,0) then
- PedSetAITree(gPlayer,"/Global/DarbyAI","Act/AI_DARBY_2_B.act")
- PedSetActionNode(gPlayer,"/Global/Actions/Grapples/Front/Grapples/Mount/MountOpps/Bully/Spit","act/anim/B_Striker_A.act")
- PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
- end
- end
- end
- Wait(0)
- end
- end
- UM_FightingMode = function()
- local Styles,HoldingTime = {
- "Player","P_Striker_A","P_Striker_B","P_Grappler_A","G_Striker_A","G_Melee_A",
- "G_Grappler_A","J_Grappler_A","J_Striker_A","J_Melee_A","B_Striker_A","DO_Striker_A",
- "DO_Grappler_A","James_BETA","Nemesis"
- },0
- while true do
- -- Fighting Mode:
- for Num,FightingStyle in ipairs(Styles) do
- F_InBoxingOrGym,IsIdle = function()
- local Missions = {
- "3_R09_P3","2_R11_Chad","2_R11_Bryce","2_R11_Justin","2_R11_Parker",
- "2_R11_Random","3_R09_J3","C_Wrestling_1","C_Wrestling_2","C_Wrestling_3",
- "C_Wrestling_4","C_Wrestling_5","C_Dodgeball_1","C_Dodgeball_2","C_Dodgeball_3",
- "C_Dodgeball_4","C_Dodgeball_5"
- }
- for MISSION_ID,MISSION in ipairs(Missions) do
- if MissionActiveSpecific(MISSION) then
- return true
- end
- end
- return false
- end,function()
- if PedMePlaying(gPlayer,"DEFAULT_KEY") or PedIsPlaying(gPlayer,"/Global/4_06/GateNerd/Picklock",true) then
- return true
- end
- return false
- end
- if gData.Style == FightingStyle and IsIdle() and not F_InBoxingOrGym() then
- if IsButtonBeingPressed(6,0) and not gData.Is_Busy and not gData.NoClip.Active and not PedIsInAnyVehicle(gPlayer) then
- repeat
- if gData.SwitchStyle + 1000 < GetTimer() then
- HoldingTime = HoldingTime + 1
- gData.SwitchStyle = GetTimer()
- elseif IsButtonBeingReleased(6,0) and HoldingTime <= 4 then
- break
- end
- Wait(0)
- until HoldingTime == 4
- if HoldingTime == 4 then
- while not IsIdle() do
- Wait(0)
- end
- gData.Is_Fighting = not gData.Is_Fighting
- if gData.Is_Fighting then
- PedSetWeaponNow(gPlayer,-1)
- if gData.Style == "Player" then
- gData.Func.SetStyle(gPlayer,"Nemesis",false)
- MonitorStyle,gData.Style = CreateThread("F_JamesBETA"),"James_BETA"
- else
- gData.Func.SetStyle(gPlayer,gData.Style) end
- PlayerWeaponHudLock(true)
- TextPrintString("Fighting Mode",1,1)
- else
- gData.Func.SetStyle(gPlayer,"Player")
- PlayerWeaponHudLock(false)
- TextPrintString("Normal Mode",1,1)
- end
- while not IsButtonBeingReleased(6,0) do
- Wait(0)
- end
- end
- gData.SwitchStyle,HoldingTime = GetTimer(),0
- end
- elseif F_InBoxingOrGym() and gData.Is_Fighting then
- gData.Func.SetStyle(gPlayer,"Player")
- gData.Is_Fighting = false
- end
- end
- Wait(0)
- end
- end
- F_JamesBETA = function()
- local Nona
- while true do
- if gData.Style == "James_BETA" then
- CurrentCombo,Reset = gData.James_BETA.Combo,false
- repeat
- if gData.James_BETA.Timer + 300 < GetTimer() then
- Reset = true
- end
- Wait(0)
- until gData.James_BETA.Combo ~= CurrentCombo or Reset
- if Reset then
- gData.James_BETA.Combo = 1
- end
- gData.James_BETA.Timer = GetTimer()
- else
- TerminateThread("F_JamesBETA")
- break
- end
- Wait(0)
- end
- end
- PedGetActionTree = function(ped)
- Styles = {
- "Player",
- "AN_DOG",
- "Authority",
- "B_Striker_A",
- "1_03_Davis",
- "BOSS_Darby",
- "BOSS_Russell",
- "Crazy_Basic",
- "CV_Drunk",
- "CV_Female_A",
- "CV_Male_A",
- "CV_OLD",
- "DO_Edgar",
- "DO_Grappler_A",
- "DO_Melee_A",
- "DO_Striker_A",
- "G_Grappler_A",
- "G_Johnny",
- "G_Melee_A",
- "G_Ranged_A",
- "G_Striker_A",
- "3_05_Norton",
- "GS_Fat_A",
- "GS_Female_A",
- "GS_Male_A",
- "Hobo_Blocker",
- "J_Damon",
- "J_Grappler_A",
- "J_Mascot",
- "J_Melee_A",
- "J_Striker_A",
- "J_Ted",
- "LE_Orderly_A",
- "N_Earnest",
- "N_Ranged_A",
- "N_Striker_A",
- "N_Striker_B",
- "Nemesis",
- "P_Bif",
- "P_Grappler_A",
- "P_Striker_A",
- "P_Striker_B",
- "PunchBagBS",
- "Russell_102",
- "TE_Female_A",
- "TE_Secretary",
- "TO_Siamese",
- "WrestlingACT",
- "BoxingPlayer",
- }
- for i,v in ipairs(Styles) do
- if PedIsPlaying(ped,"/Global/"..v,true) then
- return v
- end
- end
- return Styles[math.random(1,table.getn(Styles))]
- end
- Setup_Mod = function()
- function SETUP_Clothes()
- All_Clothes = {
- {model = "R_Jacket1" ,style = 1},
- {model = "R_Jacket2" ,style = 1},
- {model = "R_Jacket5" ,style = 1},
- {model = "R_Sweater1" ,style = 1},
- {model = "R_Sweater2" ,style = 1},
- {model = "R_Sweater3" ,style = 1},
- {model = "R_Sweater4" ,style = 1},
- {model = "R_Sweater5" ,style = 1},
- {model = "R_SSleeves1" ,style = 1},
- {model = "R_SSleeves2" ,style = 1},
- {model = "R_SSleeves4" ,style = 1},
- {model = "R_SSleeves5" ,style = 1},
- {model = "R_SSleeves6" ,style = 1},
- {model = "R_LSleeves1" ,style = 1},
- {model = "R_LSleeves2" ,style = 1},
- {model = "R_LSleeves4" ,style = 1},
- {model = "R_LSleeves5" ,style = 1},
- {model = "R_Watch1" ,style = 2},
- {model = "R_Watch2" ,style = 2},
- {model = "R_Watch3" ,style = 2},
- {model = "R_Watch4" ,style = 2},
- {model = "R_Wristband1" ,style = 3},
- {model = "R_Wristband2" ,style = 3},
- {model = "R_Wristband3" ,style = 3},
- {model = "R_Wristband4" ,style = 3},
- {model = "R_Pants1" ,style = 4},
- {model = "R_Pants2" ,style = 4},
- {model = "R_Pants3" ,style = 4},
- {model = "R_Pants4" ,style = 4},
- {model = "R_Pants5" ,style = 4},
- {model = "R_Shorts1" ,style = 4},
- {model = "R_Shorts2" ,style = 4},
- {model = "R_Shorts3" ,style = 4},
- {model = "R_Shorts4" ,style = 4},
- {model = "R_Shorts5" ,style = 4},
- {model = "R_Sneakers1" ,style = 5},
- {model = "R_Sneakers2" ,style = 5},
- {model = "R_Sneakers3" ,style = 5},
- {model = "R_Sneakers4" ,style = 5},
- {model = "R_Sneakers5" ,style = 5},
- {model = "R_Boots2" ,style = 5},
- {model = "R_Boots3" ,style = 5},
- {model = "R_Hat1" ,style = 0},
- {model = "R_Hat2" ,style = 0},
- {model = "R_Hat3" ,style = 0},
- {model = "R_Hat4" ,style = 0},
- {model = "R_Hat5" ,style = 0},
- {model = "R_Hat6" ,style = 0},
- {model = "S_Jacket3" ,style = 1},
- {model = "S_Jacket4" ,style = 1},
- {model = "S_Sweater1" ,style = 1},
- {model = "S_Sweater2" ,style = 1},
- {model = "S_Sweater5" ,style = 1},
- {model = "S_LSleeves1" ,style = 1},
- {model = "S_LSleeves2" ,style = 1},
- {model = "S_LSleeves3" ,style = 1},
- {model = "S_LSleeves4" ,style = 1},
- {model = "S_Wristband1" ,style = 2},
- {model = "S_Wristband2" ,style = 3},
- {model = "S_Wristband3" ,style = 3},
- {model = "S_Wristband4" ,style = 2},
- {model = "S_Wristband5" ,style = 3},
- {model = "S_Wristband6" ,style = 2},
- {model = "S_Pants1" ,style = 4},
- {model = "S_Pants3" ,style = 4},
- {model = "S_Shorts1" ,style = 4},
- {model = "S_Shorts4" ,style = 4},
- {model = "S_Shorts5" ,style = 4},
- {model = "S_Shorts6" ,style = 4},
- {model = "S_Sneakers1" ,style = 5},
- {model = "S_Sneakers2" ,style = 5},
- {model = "S_BHat1" ,style = 0},
- {model = "S_BHat2" ,style = 0},
- {model = "S_BHat3" ,style = 0},
- {model = "S_Sunvisor1" ,style = 0},
- {model = "S_Sunvisor2" ,style = 0},
- {model = "S_Sunvisor3" ,style = 0},
- {model = "P_Army1" ,style = 0},
- {model = "P_Army2" ,style = 0},
- {model = "P_Army3" ,style = 0},
- {model = "P_Jacket1" ,style = 1},
- {model = "P_Jacket2" ,style = 1},
- {model = "P_Jacket3" ,style = 1},
- {model = "P_Jacket4" ,style = 1},
- {model = "P_Jacket5" ,style = 1},
- {model = "P_Jacket6" ,style = 1},
- {model = "P_Sweater1" ,style = 1},
- {model = "P_Sweater2" ,style = 1},
- {model = "P_Sweater3" ,style = 1},
- {model = "P_Sweater4" ,style = 1},
- {model = "P_Sweater5" ,style = 1},
- {model = "P_Sweater6" ,style = 1},
- {model = "P_Sweater7" ,style = 1},
- {model = "P_Sweater8" ,style = 1},
- {model = "P_SSleeves1" ,style = 1},
- {model = "P_SSleeves2" ,style = 1},
- {model = "P_SSleeves3" ,style = 1},
- {model = "P_SSleeves4" ,style = 1},
- {model = "P_SSleeves5" ,style = 1},
- {model = "P_SSleeves6" ,style = 1},
- {model = "P_SSleeves7" ,style = 1},
- {model = "P_SSleeves8" ,style = 1},
- {model = "P_SSleeves9" ,style = 1},
- {model = "P_SSleeves10" ,style = 1},
- {model = "P_SSleeves11" ,style = 1},
- {model = "P_SSleeves12" ,style = 1},
- {model = "P_SSleeves13" ,style = 1},
- {model = "P_SSleeves14" ,style = 1},
- --{model = "P_SSleeves15" ,style = 1},
- {model = "P_LSleeves1" ,style = 1},
- {model = "P_LSleeves2" ,style = 1},
- {model = "P_LSleeves3" ,style = 1},
- {model = "P_LSleeves4" ,style = 1},
- {model = "P_LSleeves5" ,style = 1},
- {model = "P_LSleeves6" ,style = 1},
- {model = "P_LSleeves7" ,style = 1},
- {model = "P_LSleeves8" ,style = 1},
- {model = "P_LSleeves9" ,style = 1},
- {model = "P_LSleeves10" ,style = 1},
- {model = "P_Watch1" ,style = 2},
- {model = "P_Wristband1" ,style = 3},
- {model = "P_Wristband2" ,style = 3},
- {model = "P_Wristband3" ,style = 3},
- {model = "P_Wristband4" ,style = 3},
- {model = "P_Wristband5" ,style = 3},
- {model = "P_Wristband6" ,style = 3},
- {model = "P_Wristband7" ,style = 3},
- {model = "P_Wristband8" ,style = 3},
- {model = "P_Pants1" ,style = 4},
- {model = "P_Pants2" ,style = 4},
- {model = "P_Pants3" ,style = 4},
- {model = "P_Pants4" ,style = 4},
- {model = "P_Pants5" ,style = 4},
- {model = "P_Pants6" ,style = 4},
- {model = "P_Pants7" ,style = 4},
- {model = "P_Sneakers1" ,style = 5},
- {model = "P_Sneakers2" ,style = 5},
- {model = "P_Sneakers3" ,style = 5},
- {model = "P_Sneakers4" ,style = 5},
- {model = "P_Sneakers5" ,style = 5},
- {model = "P_Sneakers6" ,style = 5},
- {model = "P_Sneakers7" ,style = 5},
- {model = "P_Sneakers8" ,style = 5},
- {model = "P_Sneakers9" ,style = 5},
- {model = "P_Sneakers10" ,style = 5},
- {model = "P_Sneakers11" ,style = 5},
- {model = "P_Sneakers12" ,style = 5},
- {model = "P_Sneakers13" ,style = 5},
- {model = "P_Sneakers14" ,style = 5},
- {model = "P_Sneakers15" ,style = 5},
- {model = "P_Sneakers16" ,style = 5},
- {model = "P_Sneakers17" ,style = 5},
- {model = "P_Sneakers18" ,style = 5},
- {model = "P_Sneakers19" ,style = 5},
- {model = "P_Boots1" ,style = 5},
- {model = "P_Boots2" ,style = 5},
- {model = "P_Boots3" ,style = 5},
- {model = "P_Boots4" ,style = 5},
- {model = "P_BHat1" ,style = 0},
- {model = "P_BHat2" ,style = 0},
- {model = "P_BHat3" ,style = 0},
- {model = "P_BHat4" ,style = 0},
- {model = "P_BHat5" ,style = 0},
- {model = "P_BHat6" ,style = 0},
- {model = "P_Bandana1" ,style = 0},
- {model = "P_Bandana2" ,style = 0},
- {model = "P_Bandana3" ,style = 0},
- {model = "B_Jacket1" ,style = 1},
- {model = "B_Jacket2" ,style = 1},
- {model = "B_Jacket3" ,style = 1},
- {model = "B_Jacket6" ,style = 1},
- {model = "B_Sweater2" ,style = 1},
- {model = "B_Sweater3" ,style = 1},
- {model = "B_Sweater4" ,style = 1},
- {model = "B_SSleeves1" ,style = 1},
- {model = "B_SSleeves2" ,style = 1},
- {model = "B_SSleeves3" ,style = 1},
- {model = "B_LSleeves2" ,style = 1},
- {model = "B_LSleeves3" ,style = 1},
- {model = "B_LSleeves4" ,style = 1},
- {model = "B_Jersey1" ,style = 1},
- {model = "B_Jersey3" ,style = 1},
- {model = "B_Jersey4" ,style = 1},
- {model = "B_Jersey5" ,style = 1},
- {model = "B_Jersey6" ,style = 1},
- {model = "B_Jersey7" ,style = 1},
- {model = "B_Jersey8" ,style = 1},
- {model = "B_Jersey9" ,style = 1},
- {model = "B_Jersey10" ,style = 1},
- --{model = "B_BigWatch" ,style = 2},
- {model = "B_Wristband1" ,style = 3},
- {model = "B_Wristband2" ,style = 3},
- {model = "B_Wristband3" ,style = 3},
- {model = "B_Wristband4" ,style = 3},
- {model = "B_Wristband5" ,style = 3},
- {model = "B_Pants1" ,style = 4},
- {model = "B_Pants2" ,style = 4},
- {model = "B_Pants3" ,style = 4},
- {model = "B_Pants4" ,style = 4},
- {model = "B_Pants6" ,style = 4},
- {model = "B_Pants7" ,style = 4},
- {model = "B_Pants8" ,style = 4},
- {model = "B_Shorts1" ,style = 4},
- {model = "B_Shorts2" ,style = 4},
- {model = "B_Shorts3" ,style = 4},
- {model = "B_Shorts4" ,style = 4},
- {model = "B_Shorts5" ,style = 4},
- {model = "B_Shorts6" ,style = 4},
- {model = "B_Shorts7" ,style = 4},
- {model = "B_Sneakers1" ,style = 5},
- {model = "B_Sneakers2" ,style = 5},
- {model = "B_Sneakers3" ,style = 5},
- {model = "B_Sneakers4" ,style = 5},
- {model = "B_Sneakers5" ,style = 5},
- {model = "B_Sneakers6" ,style = 5},
- {model = "B_Sneakers8" ,style = 5},
- {model = "B_Sneakers9" ,style = 5},
- {model = "B_Sneakers10" ,style = 5},
- {model = "B_Sneakers11" ,style = 5},
- {model = "B_Sneakers12" ,style = 5},
- {model = "B_Sneakers13" ,style = 5},
- {model = "B_Boots1" ,style = 5},
- {model = "B_Boots2" ,style = 5},
- {model = "B_Boots3" ,style = 5},
- {model = "B_Boots4" ,style = 5},
- {model = "B_Boots5" ,style = 5},
- {model = "B_BHat1" ,style = 0},
- {model = "B_BHat2" ,style = 0},
- {model = "B_BHat3" ,style = 0},
- {model = "B_BHat4" ,style = 0},
- {model = "B_BHat5" ,style = 0},
- {model = "B_BHat6" ,style = 0},
- {model = "B_Bucket1" ,style = 0},
- {model = "B_Bucket2" ,style = 0},
- {model = "B_Various1" ,style = 0},
- {model = "B_Various2" ,style = 0},
- {model = "B_Various3" ,style = 0},
- {model = "B_Various4" ,style = 0},
- {model = "B_Various5" ,style = 0},
- {model = "B_Hunter1" ,style = 0},
- {model = "B_Hunter2" ,style = 0},
- {model = "B_Hunter3" ,style = 0},
- {model = "SP_Alien_H" ,style = 0},
- {model = "SP_Alien_T" ,style = 1},
- {model = "SP_Alien_L" ,style = 4},
- {model = "SP_Boxing_ft" ,style = 5},
- {model = "SP_Boxing_G_L" ,style = 2},
- {model = "SP_Boxing_G_R" ,style = 3},
- {model = "SP_Boxing_L" ,style = 4},
- {model = "SP_Boxing_T" ,style = 1},
- {model = "SP_BikeHelmet" ,style = 0},
- {model = "SP_BikeJersey" ,style = 1},
- {model = "SP_BikeShorts" ,style = 4},
- {model = "SP_BMXhelmet" ,style = 0},
- {model = "SP_Antlers" ,style = 0},
- {model = "SP_Colum_H" ,style = 0},
- {model = "SP_Colum_T" ,style = 1},
- {model = "SP_Colum_L" ,style = 4},
- {model = "SP_Colum_FT" ,style = 5},
- {model = "SP_Elf_H" ,style = 0},
- {model = "SP_Elf_T" ,style = 1},
- {model = "SP_Elf_L" ,style = 4},
- {model = "SP_Elf_FT" ,style = 5},
- {model = "SP_Fries_H" ,style = 0},
- {model = "SP_Fries_T" ,style = 1},
- {model = "SP_Fries_L" ,style = 4},
- {model = "SP_Gnome_H" ,style = 0},
- {model = "SP_Gnome_T" ,style = 1},
- {model = "SP_Gnome_L" ,style = 4},
- {model = "SP_Gnome_ft" ,style = 5},
- {model = "SP_Goldsuit_H" ,style = 0},
- {model = "SP_Goldsuit_T" ,style = 1},
- {model = "SP_Goldsuit_L" ,style = 4},
- {model = "SP_Goldsuit_ft" ,style = 5},
- {model = "SP_MBand_H" ,style = 0},
- {model = "SP_MBand_T" ,style = 1},
- {model = "SP_MBand_L" ,style = 4},
- {model = "SP_MBand_FT" ,style = 5},
- {model = "SP_Mascot_H" ,style = 0},
- {model = "SP_Mascot_B" ,style = 5},
- {model = "SP_Nascar_H" ,style = 0},
- {model = "SP_Nascar_T" ,style = 1},
- {model = "SP_Nascar_L" ,style = 4},
- {model = "SP_Nascar_FT" ,style = 5},
- {model = "SP_Nerd_H" ,style = 0},
- {model = "SP_Nerd_T" ,style = 1},
- {model = "SP_Nerd_L" ,style = 4},
- {model = "SP_Nerd_FT" ,style = 5},
- {model = "SP_NerdWatch" ,style = 3},
- {model = "SP_Ninja_H" ,style = 0},
- {model = "SP_Ninja_T" ,style = 1},
- {model = "SP_Ninja_L" ,style = 4},
- {model = "SP_Ninja_FT" ,style = 5},
- {model = "SP_NinjaW_H" ,style = 0},
- {model = "SP_NinjaW_T" ,style = 1},
- {model = "SP_NinjaW_L" ,style = 4},
- {model = "SP_NinjaW_FT" ,style = 5},
- {model = "SP_NinjaR_H" ,style = 0},
- {model = "SP_NinjaR_T" ,style = 1},
- {model = "SP_NinjaR_L" ,style = 4},
- {model = "SP_NinjaR_FT" ,style = 5},
- {model = "SP_Nutcrack_H" ,style = 0},
- {model = "SP_Nutcrack_T" ,style = 1},
- {model = "SP_Nutcrack_L" ,style = 4},
- {model = "SP_Nutcrack_FT" ,style = 5},
- {model = "SP_Orderly_T" ,style = 1},
- {model = "SP_Orderly_P" ,style = 4},
- {model = "SP_Orderly_B" ,style = 5},
- {model = "SP_PJ_T" ,style = 1},
- {model = "SP_PJ_L" ,style = 4},
- {model = "SP_Prison_T" ,style = 1},
- {model = "SP_Prison_L" ,style = 4},
- {model = "SP_80Rocker_H" ,style = 0},
- {model = "SP_80Rocker_T" ,style = 1},
- {model = "SP_80Rocker_L" ,style = 4},
- {model = "SP_80Rocker_FT" ,style = 5},
- {model = "SP_Ween_H" ,style = 0},
- {model = "SP_Ween_T" ,style = 1},
- {model = "SP_Ween_L" ,style = 4},
- {model = "SP_Wrestling_H" ,style = 0},
- {model = "SP_Wrestling_T" ,style = 1},
- {model = "SP_Wrestling_L" ,style = 4},
- {model = "SP_Wrestling_ft" ,style = 5},
- {model = "SP_Panda_H" ,style = 0},
- {model = "SP_Panda_B" ,style = 5},
- {model = "SP_BikeHelmet" ,style = 0},
- {model = "SP_BandShirt" ,style = 1},
- {model = "SP_Cowboyhat" ,style = 0},
- {model = "SP_XmsSweater" ,style = 1},
- {model = "SP_PieShirt" ,style = 1},
- {model = "SP_PigMask" ,style = 0},
- {model = "SP_PirateHat" ,style = 0},
- {model = "SP_Duncehat" ,style = 0},
- {model = "SP_EdnaMask" ,style = 0},
- {model = "SP_EiffelHat" ,style = 0},
- {model = "SP_Einstein" ,style = 0},
- {model = "SP_Firehat" ,style = 0},
- {model = "SP_GK_Helmet" ,style = 0},
- {model = "SP_Socks" ,style = 5},
- {model = "SP_Swimsuit" ,style = 4},
- {model = "SP_Zorromask" ,style = 0},
- {model = "SP_PithHelmet" ,style = 0},
- {model = "SP_Pophat" ,style = 0},
- {model = "SP_Pumpkin_head" ,style = 0},
- {model = "SP_VHelmet" ,style = 0},
- {model = "SP_Werewolf" ,style = 0},
- {model = "SP_GymDisguise" ,style = 0},
- {model = "SP_Basshat" ,style = 0},
- {model = "SP_Hazmat" ,style = 0},
- {model = "SP_MortarBhat" ,style = 0},
- {model = "SP_HipShirt" ,style = 1},
- {model = "SP_MathShirt" ,style = 1},
- {model = "SP_MuscleShirt" ,style = 1},
- {model = "SP_Briefs" ,style = 4},
- {model = "SP_MusicPJ_L" ,style = 4},
- {model = "SP_MusicPJ_T" ,style = 1},
- {model = "SP_MusicShirt" ,style = 1},
- {model = "SP_Shorts" ,style = 4},
- {model = "C_AngelHalo" ,style = 0},
- {model = "C_CanadaHat" ,style = 0},
- {model = "C_ClownPants" ,style = 4},
- {model = "C_ClownShoes" ,style = 5},
- {model = "C_ClownWig" ,style = 0},
- {model = "C_DevilHorns" ,style = 0},
- {model = "C_PinkWatch" ,style = 2},
- {model = "C_StpdShrt" ,style = 1},
- {model = "C_StrangeHat" ,style = 0}
- }
- end
- function SETUP_Outfits()
- All_Outfit = {
- {"Underwear" ,"Underwear"},
- {"Starting" ,"Starting"},
- {"Uniform" ,"School Uniform"},
- {"Boxing" ,"Boxing (Complete)"},
- {"Boxing NG" ,"Boxing"},
- {"Wrestling" ,"Wrestling Uniform"},
- {"Mascot" ,"Mascot"},
- {"MascotNoHead" ,"Mascot (No Head)"},
- {"Orderly" ,"Orderly Uniform"},
- {"Halloween" ,"Halloween"},
- {"PJ" ,"Pajamas"},
- {"Prison" ,"Prisoner"},
- {"Grotto Master" ,"Grotto Master"},
- {"Gnome" ,"Gnome"},
- {"Fast Food" ,"Fast Food uniform"},
- {"Gold Suit" ,"Gold Suit"},
- {"BMX Champion" ,"BMX"},
- {"Gym Strip" ,"Gym strip"},
- {"Ninja_BLK" ,"Black Ninja"},
- {"Ninja_WHT" ,"Green Ninja"},
- {"Ninja_RED" ,"Red Ninja"},
- {"Columbus" ,"Columbus"},
- {"Nutcracker" ,"Nutrackin"},
- {"Elf" ,"Elf"},
- {"Marching Band" ,"Marching Band"},
- {"Nascar" ,"Nascar"},
- {"80 Rocker" ,"Rocker"},
- {"Panda" ,"Panda"},
- {"Alien" ,"Alien"},
- {"NerdJimmy" ,"Nerd"}
- }
- end
- function SETUP_Model()
- Models = {
- {model = "player" ,name = "Jimmy" ,style = "Player"},
- {model = "DOgirl_Zoe_EG" ,name = "Zoe" ,style = "GS_Female_A"},
- {model = "NDGirl_Beatrice" ,name = "Beatrice" ,style = "GS_Female_A"},
- {model = "NDH1a_Algernon" ,name = "Algernon" ,style = "N_Striker_B"},
- {model = "NDH1_Fatty" ,name = "Fatty" ,style = "N_Striker_A"},
- {model = "ND2nd_Melvin" ,name = "Melvin" ,style = "N_Striker_A"},
- {model = "NDH2_Thad" ,name = "Thad" ,style = "N_Ranged_A"},
- {model = "NDH3_Bucky" ,name = "Bucky" ,style = "N_Ranged_A"},
- {model = "NDH2a_Cornelius" ,name = "Cornelius" ,style = "N_Ranged_A"},
- {model = "NDLead_Earnest" ,name = "Earnest" ,style = "N_Ranged_A"},
- {model = "NDH3a_Donald" ,name = "Donald" ,style = "N_Ranged_A"},
- {model = "JKH1_Damon" ,name = "Damon" ,style = "J_Striker_A"},
- {model = "JKH1a_Kirby" ,name = "Kirby" ,style = "J_Striker_A"},
- {model = "JKGirl_Mandy" ,name = "Mandy" ,style = "GS_Female_A"},
- {model = "JKH2_Dan" ,name = "Dan" ,style = "J_Striker_A"},
- {model = "JKH2a_Luis" ,name = "Luis" ,style = "J_Grappler_A"},
- {model = "JKH3_Casey" ,name = "Casey" ,style = "J_Melee_A"},
- {model = "JKH3a_Bo" ,name = "Bo" ,style = "J_Melee_A"},
- {model = "JKlead_Ted" ,name = "Ted" ,style = "J_Striker_A"},
- {model = "JK2nd_Juri" ,name = "Juri" ,style = "J_Grappler_A"},
- {model = "GR2nd_Peanut" ,name = "Peanut" ,style = "G_Striker_A"},
- {model = "GRH2A_Hal" ,name = "Hal" ,style = "G_Grappler_A"},
- {model = "GRlead_Johnny" ,name = "Johnny" ,style = "G_Striker_A"},
- {model = "GRH1_Lefty" ,name = "Lefty" ,style = "G_Melee_A"},
- {model = "GRGirl_Lola" ,name = "Lola" ,style = "GS_Female_A"},
- {model = "GRH3_Lucky" ,name = "Lucky" ,style = "G_Striker_A"},
- {model = "GRH1a_Vance" ,name = "Vance" ,style = "G_Melee_A"},
- {model = "GRH3a_Ricky" ,name = "Ricky" ,style = "G_Striker_A"},
- {model = "GRH2_Norton" ,name = "Norton" ,style = "G_Grappler_A"},
- {model = "PRH1_Gord" ,name = "Gord" ,style = "P_Striker_A"},
- {model = "PRH1a_Tad" ,name = "Tad" ,style = "P_Striker_A"},
- {model = "PRH2a_Chad" ,name = "Chad" ,style = "P_Grappler_A"},
- {model = "PR2nd_Bif" ,name = "Bif" ,style = "P_Striker_A"},
- {model = "PRH3_Justin" ,name = "Justin" ,style = "P_Striker_B"},
- {model = "PRH2_Bryce" ,name = "Bryce" ,style = "P_Grappler_A"},
- {model = "PRH2_Bryce_OBOX" ,name = "Bryce" ,style = "P_Striker_A"},
- {model = "PRlead_Darby" ,name = "Darby" ,style = "P_Striker_A"},
- {model = "PRGirl_Pinky" ,name = "Pinky" ,style = "GS_Female_A"},
- {model = "GN_Asiangirl" ,name = "Angie" ,style = "GS_Female_A"},
- {model = "PRH3a_Parker" ,name = "Parker" ,style = "P_Striker_B"},
- {model = "DOH2_Jerry" ,name = "Jerry" ,style = "DO_Grappler_A"},
- {model = "DOH1a_Otto" ,name = "Otto" ,style = "DO_Striker_A"},
- {model = "DOH2a_Leon" ,name = "Leon" ,style = "DO_Striker_A"},
- {model = "DOH1_Duncan" ,name = "Duncan" ,style = "DO_Striker_A"},
- {model = "DOH3_Henry" ,name = "Henry" ,style = "DO_Grappler_A"},
- {model = "DOH3a_Gurney" ,name = "Gurney" ,style = "DO_Grappler_A"},
- {model = "DO2nd_Omar" ,name = "Omar" ,style = "DO_Striker_A"},
- {model = "DOGirl_Zoe" ,name = "Zoe" ,style = "GS_Female_A"},
- {model = "PF2nd_Max" ,name = "Max" ,style = "Authority"},
- {model = "PFH1_Seth" ,name = "Seth" ,style = "Authority"},
- {model = "PFH2_Edward" ,name = "Edward" ,style = "Authority"},
- {model = "PFlead_Karl" ,name = "Karl" ,style = "Authority"},
- {model = "TO_Orderly" ,name = "Theo" ,style = "LE_Orderly_A"},
- {model = "TE_HallMonitor" ,name = "MissPeabody" ,style = "TE_Female_A"},
- {model = "TE_GymTeacher" ,name = "MrBurton" ,style = "Authority"},
- {model = "TE_Janitor" ,name = "MrLuntz" ,style = "GS_Male_A"},
- {model = "TE_English" ,name = "MrGalloway" ,style = "Authority"},
- {model = "TE_Cafeteria" ,name = "Edna" ,style = "Authority"},
- {model = "TE_Secretary" ,name = "MissWinston" ,style = "TE_Female_A"},
- {model = "TE_Nurse" ,name = "MrsMcRae" ,style = "TE_Female_A"},
- {model = "TE_MathTeacher" ,name = "MrHuntingdon" ,style = "Authority"},
- {model = "TE_Librarian" ,name = "MrsCarvin" ,style = "TE_Female_A"},
- {model = "TE_Art" ,name = "MsPhillips" ,style = "TE_Female_A"},
- {model = "TE_Biology" ,name = "MrSlawter" ,style = "Authority"},
- {model = "TE_Principal" ,name = "DrCrabblesnitch" ,style = "Authority"},
- {model = "GN_Littleblkboy" ,name = "Sheldon" ,style = "GS_Male_A"},
- {model = "GN_SexyGirl" ,name = "Christy" ,style = "GS_Female_A"},
- {model = "GN_Littleblkgirl" ,name = "Gloria" ,style = "GS_Female_A"},
- {model = "GN_Hispanicboy" ,name = "Pedro" ,style = "GS_Male_A"},
- {model = "GN_Greekboy" ,name = "Constantinos" ,style = "GS_Male_A"},
- {model = "GN_Fatboy" ,name = "Ray" ,style = "GS_Fat_A"},
- {model = "GN_Boy01" ,name = "Ivan" ,style = "GS_Male_A"},
- {model = "GN_Boy02" ,name = "Trevor" ,style = "GS_Male_A"},
- {model = "GN_Fatgirl" ,name = "Eunice" ,style = "GS_Fat_A"},
- {model = "DOlead_Russell" ,name = "Russell" ,style = "B_Striker_A"},
- {model = "TO_Business1" ,name = "DrBambillo" ,style = "GS_Male_A"},
- {model = "TO_Business2" ,name = "MrSullivan" ,style = "GS_Male_A"},
- {model = "TO_BusinessW1" ,name = "MsKopke" ,style = "GS_Female_A"},
- {model = "TO_BusinessW2" ,name = "MsRushinski" ,style = "GS_Female_A"},
- {model = "TO_RichW1" ,name = "MsIsaacs" ,style = "GS_Female_A"},
- {model = "TO_RichW2" ,name = "BethanyJones" ,style = "GS_Female_A"},
- {model = "TO_Fireman" ,name = "ORourke" ,style = "GS_Male_A"},
- {model = "TO_Cop" ,name = "OfficerMonson" ,style = "Authority"},
- {model = "TO_Comic" ,name = "ZackOwens" ,style = "GS_Male_A"},
- {model = "GN_Bully03" ,name = "Trent" ,style = "B_Striker_A"},
- {model = "TO_Bikeowner" ,name = "TobiasMason" ,style = "GS_Male_A"},
- {model = "TO_Hobo" ,name = "MrGrant" ,style = "GS_Male_A"},
- {model = "Player_Mascot" ,name = "Mascot" ,style = "B_Striker_A"},
- {model = "TO_GroceryOwner" ,name = "MrOh" ,style = "GS_Male_A"},
- {model = "GN_Sexygirl_UW" ,name = "Christy" ,style = "GS_Female_A"},
- {model = "DOLead_Edgar" ,name = "Edgar" ,style = "DO_Striker_A"},
- {model = "JK_LuisWrestle" ,name = "Luis" ,style = "J_Grappler_A"},
- {model = "JKGirl_MandyUW" ,name = "Mandy" ,style = "GS_Female_A"},
- {model = "PRGirl_PinkyUW" ,name = "Pinky" ,style = "GS_Female_A"},
- {model = "NDGirl_BeatriceUW" ,name = "Beatrice" ,style = "GS_Female_A"},
- {model = "GRGirl_LolaUW" ,name = "Lola" ,style = "GS_Female_A"},
- {model = "TO_Cop2" ,name = "OfficerWilliams" ,style = "Authority"},
- {model = "Player_OWres" ,name = "Jimmy" ,style = "Player"},
- {model = "GN_Bully02" ,name = "Davis" ,style = "B_Striker_A"},
- {model = "TO_RichM1" ,name = "MrBreckindale" ,style = "GS_Male_A"},
- {model = "TO_RichM2" ,name = "MrDoolin" ,style = "GS_Male_A"},
- {model = "GN_Bully01" ,name = "Troy" ,style = "B_Striker_A"},
- {model = "TO_FireOwner" ,name = "Nate" ,style = "GS_Male_A"},
- {model = "TO_CSOwner_2" ,name = "MrCarmichael" ,style = "GS_Male_A"},
- {model = "TO_CSOwner_3" ,name = "NickyCharles" ,style = "GS_Male_A"},
- {model = "TE_Chemistry" ,name = "MrWatts" ,style = "Authority"},
- {model = "TO_Poorwoman" ,name = "MissAbby" ,style = "CV_OLD"},
- {model = "TO_MotelOwner" ,name = "Mihailovich" ,style = "GS_Male_A"},
- {model = "JKKirby_FB" ,name = "Kirby" ,style = "J_Striker_A"},
- {model = "JKTed_FB" ,name = "Ted" ,style = "J_Striker_A"},
- {model = "JKDan_FB" ,name = "Dan" ,style = "J_Striker_A"},
- {model = "JKDamon_FB" ,name = "Damon" ,style = "J_Striker_A"},
- {model = "TO_Carny02" ,name = "Freeley" ,style = "GS_Male_A"},
- {model = "TO_Carny01" ,name = "Dorsey" ,style = "GS_Male_A"},
- {model = "TO_CarnyMidget" ,name = "Hector" ,style = "GS_Male_A"},
- {model = "TO_Poorman2" ,name = "Osbourne" ,style = "GS_Male_A"},
- {model = "PRH2A_Chad_OBOX" ,name = "Chad" ,style = "P_Striker_A"},
- {model = "PRH3_Justin_OBOX" ,name = "Justin" ,style = "P_Striker_A"},
- {model = "PRH3a_Parker_OBOX" ,name = "Parker" ,style = "P_Striker_A"},
- {model = "TO_BarberRich" ,name = "MariaTheresa" ,style = "GS_Female_A"},
- {model = "GenericWrestler" ,name = "Bob" ,style = "GS_Male_A"},
- {model = "ND_FattyWrestle" ,name = "Fatty" ,style = "GS_Male_A"},
- {model = "TO_Industrial" ,name = "Chuck" ,style = "GS_Male_A"},
- {model = "TO_Associate" ,name = "Ian" ,style = "GS_Male_A"},
- {model = "TO_Asylumpatient" ,name = "Fenwick" ,style = "DO_Striker_A"},
- {model = "TE_Autoshop" ,name = "Neil" ,style = "Authority"},
- {model = "TO_Mailman" ,name = "MrSvenson" ,style = "GS_Male_A"},
- {model = "TO_Tattooist" ,name = "Denny" ,style = "GS_Male_A"},
- {model = "TE_Assylum" ,name = "MrGalloway" ,style = "Authority"},
- {model = "Nemesis_Gary" ,name = "Gary" ,style = "Nemesis"},
- {model = "TO_Oldman2" ,name = "Krakauer" ,style = "CV_OLD"},
- {model = "TO_BarberPoor" ,name = "MrMoratti" ,style = "GS_Male_A"},
- {model = "PR2nd_Bif_OBOX" ,name = "Bif" ,style = "P_Striker_A"},
- {model = "Peter" ,name = "Peter" ,style = "GS_Male_A"},
- {model = "TO_RichM3" ,name = "MrSmith" ,style = "GS_Male_A"},
- {model = "Rat_Ped" ,name = "Rat" ,style = "AN_Rat"},
- {model = "GN_LittleGirl_2" ,name = "Melody" ,style = "GS_Female_A"},
- {model = "GN_LittleGirl_3" ,name = "Karen" ,style = "GS_Female_A"},
- {model = "GN_WhiteBoy" ,name = "Gordon" ,style = "GS_Male_A"},
- {model = "TO_FMidget" ,name = "Brandy" ,style = "GS_Male_A"},
- {model = "Dog_Pitbull" ,name = "Pitbull" ,style = "AN_DOG"},
- {model = "GN_SkinnyBboy" ,name = "Lance" ,style = "GS_Male_A"},
- {model = "TO_Carnie_female" ,name = "Crystal" ,style = "GS_Female_A"},
- {model = "TO_Business3" ,name = "MrMartin" ,style = "GS_Male_A"},
- {model = "GN_Bully04" ,name = "Ethan" ,style = "B_Striker_A"},
- {model = "GN_Bully05" ,name = "Wade" ,style = "B_Striker_A"},
- {model = "GN_Bully06" ,name = "Tom" ,style = "B_Striker_A"},
- {model = "TO_Business4" ,name = "MrRamirez" ,style = "GS_Male_A"},
- {model = "TO_Business5" ,name = "MrHuntingdon" ,style = "GS_Male_A"},
- {model = "DO_Otto_asylum" ,name = "Otto" ,style = "DO_Striker_A"},
- {model = "TE_History" ,name = "MrWiggins" ,style = "Authority"},
- {model = "TO_Record" ,name = "Floyd" ,style = "GS_Male_A"},
- {model = "DO_Leon_Assylum" ,name = "Leon" ,style = "DO_Striker_A"},
- {model = "DO_Henry_Assylum" ,name = "Henry" ,style = "DO_Striker_A"},
- {model = "NDH1_FattyChocolate" ,name = "Fatty" ,style = "N_Striker_A"},
- {model = "TO_GroceryClerk" ,name = "Stan" ,style = "GS_Male_A"},
- {model = "TO_Handy" ,name = "Handy" ,style = "CV_OLD"},
- {model = "TO_Orderly2" ,name = "Gregory" ,style = "LE_Orderly_A"},
- {model = "GN_Hboy_Ween" ,name = "Pedro" ,style = "GS_Male_A"},
- {model = "Nemesis_Ween" ,name = "Gary" ,style = "Nemesis"},
- {model = "GRH3_Lucky_Ween" ,name = "Lucky" ,style = "G_Striker_A"},
- {model = "NDH3a_Donald_ween" ,name = "Donald" ,style = "N_Ranged_A"},
- {model = "PRH3a_Parker_Ween" ,name = "Parker" ,style = "P_Striker_B"},
- {model = "JKH3_Casey_Ween" ,name = "Casey" ,style = "J_Melee_A"},
- {model = "Peter_Ween" ,name = "Peter" ,style = "GS_Male_A"},
- {model = "GN_AsianGirl_Ween" ,name = "Angie" ,style = "GS_Female_A"},
- {model = "PRGirl_Pinky_Ween" ,name = "Pinky" ,style = "GS_Female_A"},
- {model = "JKH1_Damon_ween" ,name = "Damon" ,style = "J_Striker_A"},
- {model = "GN_WhiteBoy_Ween" ,name = "Gordon" ,style = "GS_Male_A"},
- {model = "GN_Bully01_Ween" ,name = "Ivan" ,style = "B_Striker_A"},
- {model = "GN_Boy02_Ween" ,name = "Trevor" ,style = "B_Striker_A"},
- {model = "PR2nd_Bif_OBOX_D1" ,name = "Bif" ,style = "P_Striker_A"},
- {model = "GRH1a_Vance_Ween" ,name = "Vance" ,style = "G_Melee_A"},
- {model = "NDH2_Thad_Ween" ,name = "Thad" ,style = "N_Ranged_A"},
- {model = "PRGirl_Pinky_BW" ,name = "Pinky" ,style = "GS_Female_A"},
- {model = "DOlead_Russell_BU" ,name = "Russell" ,style = "B_Striker_A"},
- {model = "PRH1a_Tad_BW" ,name = "Tad" ,style = "P_Striker_A"},
- {model = "PRH2_Bryce_BW" ,name = "Bryce" ,style = "P_Grappler_A"},
- {model = "PRH3_Justin_BW" ,name = "Justin" ,style = "P_Striker_B"},
- {model = "GN_Asiangirl_CH" ,name = "Angie" ,style = "GS_Female_A"},
- {model = "GN_Sexygirl_CH" ,name = "Christy" ,style = "GS_Female_A"},
- {model = "PRGirl_Pinky_CH" ,name = "Pinky" ,style = "GS_Female_A"},
- {model = "TO_NH_Res_01" ,name = "MrBuba" ,style = "CV_OLD"},
- {model = "TO_NH_Res_02" ,name = "MrGordon" ,style = "CV_OLD"},
- {model = "TO_NH_Res_03" ,name = "MrsLisburn" ,style = "CV_OLD"},
- {model = "NDH1_Fatty_DM" ,name = "Fatty" ,style = "N_Striker_A"},
- {model = "TO_PunkBarber" ,name = "Betty" ,style = "GS_Male_A"},
- {model = "FightingMidget_01" ,name = "Lightning" ,style = "P_Striker_A"},
- {model = "FightingMidget_02" ,name = "Zeke" ,style = "G_Striker_A"},
- {model = "TO_Skeletonman" ,name = "Alfred" ,style = "GS_Male_A"},
- {model = "TO_Beardedwoman" ,name = "Paris" ,style = "GS_Female_A"},
- {model = "TO_CarnieMermaid" ,name = "Courtney" ,style = "GS_Female_A"},
- {model = "TO_Siamesetwin2" ,name = "Delilah" ,style = "GS_Female_A"},
- {model = "TO_Paintedman" ,name = "Drew" ,style = "GS_Male_A"},
- {model = "TO_GN_Workman" ,name = "Castillo" ,style = "GS_Male_A"},
- {model = "DOLead_Edgar_GS" ,name = "Edgar" ,style = "DO_Striker_A"},
- {model = "DOH3a_Gurney_GS" ,name = "Gurney" ,style = "DO_Grappler_A"},
- {model = "DOH2_Jerry_GS" ,name = "Jerry" ,style = "DO_Grappler_A"},
- {model = "DOH2a_Leon_GS" ,name = "Leon" ,style = "DO_Striker_A"},
- {model = "GRH2a_Hal_GS" ,name = "Hal" ,style = "G_Grappler_A"},
- {model = "GRH2_Norton_GS" ,name = "Norton" ,style = "G_Grappler_A"},
- {model = "GR2nd_Peanut_GS" ,name = "Peanut" ,style = "G_Striker_A"},
- {model = "GRH1a_Vance_GS" ,name = "Vance" ,style = "G_Melee_A"},
- {model = "JKH3a_Bo_GS" ,name = "Bo" ,style = "J_Melee_A"},
- {model = "JKH1_Damon_GS" ,name = "Damon" ,style = "J_Striker_A"},
- {model = "JK2nd_Juri_GS" ,name = "Juri" ,style = "J_Grappler_A"},
- {model = "JKH1a_Kirby_GS" ,name = "Kirby" ,style = "J_Striker_A"},
- {model = "NDH1a_Algernon_GS" ,name = "Algernon" ,style = "N_Striker_B"},
- {model = "NDH3_Bucky_GS" ,name = "Bucky" ,style = "N_Ranged_A"},
- {model = "NDH2_Thad_GS" ,name = "Thad" ,style = "N_Ranged_A"},
- {model = "PRH3a_Parker_GS" ,name = "Parker" ,style = "P_Striker_B"},
- {model = "PRH3_Justin_GS" ,name = "Justin" ,style = "P_Striker_B"},
- {model = "PRH1a_Tad_GS" ,name = "Tad" ,style = "P_Striker_A"},
- {model = "PRH1_Gord_GS" ,name = "Gord" ,style = "P_Striker_A"},
- {model = "NDLead_Earnest_EG" ,name = "Earnest" ,style = "N_Ranged_A"},
- {model = "JKlead_Ted_EG" ,name = "Ted" ,style = "J_Striker_A"},
- {model = "GRlead_Johnny_EG" ,name = "Johnny" ,style = "G_Striker_A"},
- {model = "PRlead_Darby_EG" ,name = "Darby" ,style = "P_Striker_A"},
- {model = "Dog_Pitbull2" ,name = "Pitbull" ,style = "AN_DOG"},
- {model = "Dog_Pitbull3" ,name = "Pitbull" ,style = "AN_DOG"},
- {model = "TE_CafeMU_W" ,name = "Edna" ,style = "Authority"},
- {model = "TO_Millworker" ,name = "McInnis" ,style = "GS_Male_A"},
- {model = "TO_Dockworker" ,name = "Johnson" ,style = "GS_Male_A"},
- {model = "NDH2_Thad_PJ" ,name = "Thad" ,style = "N_Ranged_A"},
- {model = "GN_Lblkboy_PJ" ,name = "Sheldon" ,style = "GS_Male_A"},
- {model = "GN_Hboy_PJ" ,name = "Pedro" ,style = "GS_Male_A"},
- {model = "GN_Boy01_PJ" ,name = "Ivan" ,style = "GS_Male_A"},
- {model = "GN_Boy02_PJ" ,name = "Trevor" ,style = "GS_Male_A"},
- {model = "TE_Gym_Incog" ,name = "MrBurton" ,style = "Authority"},
- {model = "JK_Mandy_Towel" ,name = "Mandy" ,style = "GS_Female_A"},
- {model = "JK_Bo_FB" ,name = "Bo" ,style = "J_Melee_A"},
- {model = "JK_Casey_FB" ,name = "Casey" ,style = "J_Melee_A"},
- {model = "PunchBag" ,name = "PunchBag" ,style = "PunchBagBS"},
- {model = "TO_Cop3" ,name = "OfficerMonson" ,style = "Authority"},
- {model = "GN_GreekboyUW" ,name = "Constantinos" ,style = "GS_Male_A"},
- {model = "TO_Construct01" ,name = "McInnis" ,style = "GS_Male_A"},
- {model = "TO_Construct02" ,name = "McInnis" ,style = "GS_Male_A"},
- {model = "TO_Cop4" ,name = "OfficerWilliams" ,style = "Authority"},
- {model = "PRH2_Bryce_OBOX_D1" ,name = "Bryce" ,style = "P_Striker_A"},
- {model = "PRH2_Bryce_OBOX_D2" ,name = "Bryce" ,style = "P_Striker_A"},
- {model = "PRH2A_Chad_OBOX_D1" ,name = "Chad" ,style = "P_Striker_A"},
- {model = "PRH2A_Chad_OBOX_D2" ,name = "Chad" ,style = "P_Striker_A"},
- {model = "PR2nd_Bif_OBOX_D2" ,name = "Bif" ,style = "P_Striker_A"},
- {model = "PRH3_Justin_OBOX_D1" ,name = "Justin" ,style = "P_Striker_A"},
- {model = "PRH3_Justin_OBOX_D2" ,name = "Justin" ,style = "P_Striker_A"},
- {model = "PRH3a_Prkr_OBOX_D1" ,name = "Parker" ,style = "P_Striker_A"},
- {model = "PRH3a_Prkr_OBOX_D2" ,name = "Parker" ,style = "P_Striker_A"},
- {model = "TE_Geography" ,name = "GeographyTeacher" ,style = "Authority"},
- {model = "TE_Music" ,name = "MusicTeacher" ,style = "TE_Female_A"},
- {model = "TO_ElfF" ,name = "Elf" ,style = "GS_Male_A"},
- {model = "TO_ElfM" ,name = "Elf" ,style = "GS_Male_A"},
- {model = "TO_HoboSanta" ,name = "HoboSanta" ,style = "GS_Male_A"},
- {model = "TO_Santa" ,name = "Santa" ,style = "GS_Male_A"},
- {model = "TO_Santa_NB" ,name = "Santa" ,style = "GS_Male_A"},
- {model = "Peter_Nutcrack" ,name = "Peter" ,style = "GS_Male_A"},
- {model = "GN_Fatgirl_Fairy" ,name = "Eunice" ,style = "GS_Fat_A"},
- {model = "GN_Lgirl_2_Flower" ,name = "Melody" ,style = "GS_Female_A"},
- {model = "GN_Hboy_Flower" ,name = "Pedro" ,style = "GS_Male_A"}
- }
- end
- function SETUP_Areas()
- Area = {
- -- areacode,x,y,z,camx,camy,camz,lookx,looky,lookz
- {14,-496.6,310.6 ,31.3,-480.6,318.5,31.4 + 2.5,-502.2,318.6,31.4},
- {60,-774.3,355.2 ,6.4,-765.7,350.3,6.4 + 2.5,-772.2,356.1,6.4},
- {30,-726.0,34.2 ,-2.3,-734.0,32.6,-2.3 + 2,-728.2,38.1,-2.3},
- {61,-694.6,346.4 ,3.2,-700.2,341.3,3.2 + 2,-695.7,348.0,3.2},
- {57,-656.8,248.8 ,15.2,-664.1,256.8,16.3 + 4,-658.1,249.0,15.2},
- {59,-749.4,352.2 ,3.5,-741.2,346.7,3.5 + 2,-749.4,353.2,3.5},
- {2,-628.4,-312.5 ,-0.0,-621.3,-316.9,-0.0 + 3.8,-628.8,-311.0,-0.0},
- {8,-756.9,-56.2,9.3,-753.4,-49.2,9.3 + 2,-757.4,-56.7,9.3},
- {0,601.4,-91.1,5.9,577.2,-111.0,5.5 + 8,601.4,-91.1,5.9,577.2},
- {27,-732.2,378.4,298.0,-697.4,368.2,293.9 + 7,-710.6,377.1,295.0},
- {0,188.2,438.3,5.3,160.9,480.3,5.3 + 12,155.2,450.2,6.11},
- {62,-749.2,637.1,30.9,-772.2,657.6,29.4 + 7,-748.8,637.4,30.9},
- {0,-50.2,-309.2,4.1,-68.2,-308.0,4.3 + 8,-50.2,-309.2,4.1},
- {38,-735.1,468.8,1.9,-735.6,473.5,1.9 + 4,-735.3,485.5,1.9},
- }
- end
- function SETUP_Doors()
- -- All doors from Scripts.IMG
- Doors = {
- "DT_DormExitDoorL","DT_ischool_Staff","DT_tschool_ExtWind","DT_tschool_HallWind",
- "DT_TSCHOOL_SCHOOLFRONTDOORL","DT_TSCHOOL_SCHOOLLEFTBACKDOOR","DT_TSCHOOL_SCHOOLLEFTFRONTDOOR",
- "DT_TSCHOOL_SCHOOLRIGHTFRONTDOOR","DT_TSCHOOL_SCHOOLRIGHTBACKDOOR","DT_tschool_GirlsDormL",
- TRIGGER._BUSDOORS,"DT_ischool_Janitor","DT_ischool_Attic","DT_tbusines_BikeShopDoor",
- TRIGGER._RA_PREPDOOR14,TRIGGER._RA_PREPDOOR15,"DT_trich_SafePrep","DT_TSCHOOL_PREPPYL",
- TRIGGER._DOOR_PREPHOUSE_STAIRS,TRIGGER._DOOR_PREPHOUSE_FOYER,"DT_PREPTOMAIN","DT_trich_BoxingDoor01",
- "DT_trich_BoxingDoor02","iboxing_ESCDoorL01","iboxing_ESCDoorR01",TRIGGER._IBOXING_ESCDOORL,
- TRIGGER._IBOXING_ESCDOORL,TRIGGER._IBOXING_ESCDOORR,TRIGGER._IBOXING_ESCDOORL01,
- TRIGGER._IBOXING_ESCDOORR01,"IBOXING_ESCDOORL","IBOXING_ESCDOORL01","IBOXING_ESCDOORR",
- "IBOXING_ESCDOORR01","DT_IBOXING_DOORL","DT_IBOXING_DOORL",TRIGGER._HATTRICK_GATE,
- TRIGGER._HATTRICKDOOR,"DT_TSCHOOL_GIRLSDORML","GDORM_UPPERDOORSTORAGE","DT_tbusines_BikeShopDoor",
- "DT_tbusines_ClothDoor","DT_tbusines_ComicShopDoor","DT_tbusines_GenShop1Door","DT_tbusines_GenShop2Door",
- "DT_tbusiness_Barber","DT_tpoor_Barber",TRIGGER._DT_TPOOR_BMX,TRIGGER._DT_TPOOR_TENWINDOW,
- TRIGGER._FMDOORN01,TRIGGER._ICOMSHP_BASEMENT,TRIGGER._FMDOORN,TRIGGER._ASYLUM_FRONT_GATE_DOOR,
- TRIGGER._DT_ASYLUM_FRONT_DOOR,"FMDoor",TRIGGER._ASYDOORS12,TRIGGER._CELLDOOR13,TRIGGER._FMDOOR,
- "CELLDOOR12","GDORM_UPPERDOOR",TRIGGER._SCGATE_OBSERVATORY,TRIGGER._NERDPATH_BRDOOR,"SCGATE_OBSERVATORY",
- TRIGGER._FUNTEETH,TRIGGER._DT_IFUNHOUS_FMDOOR,TRIGGER._IFUNHOUS_CTRLROOM,TRIGGER._IFUNHOUS_CTRLROOM,
- TRIGGER._IFUNHOUS_MZEMINE,TRIGGER._IFUNHOUS_MINEEND,TRIGGER._IFUNHOUS_ENDMINE,"DT_TSCHOOL_GYML",
- "TSCHOOL_GYMR","TSCHOOL_POOLR","DT_TSCHOOL_POOLL",TRIGGER._DT_POOL_DOORL,TRIGGER._DT_GYM_DOORL,
- TRIGGER._DT_ISCHOOL_ART,TRIGGER._DT_LIBRARYEXITR,TRIGGER._ESCDOORR,"ASYDOORB",TRIGGER._FMDOOR02,
- "ASYDOORS11","ASYDOORS12","ASYDOORS14","ASYDOORS15","CELLDOOR","CELLDOOR12","CELLDOOR13","CELLDOOR14",
- "CELLDOOR15","CELLDOOR16","CELLDOOR17","CELLDOOR18","CELLDOOR19","CELLDOOR20","CELLDOOR21",
- "FMDoor02","FMDoor03","AsyDoors13",TRIGGER._ASYDOORS13,TRIGGER._ASYDOORS14,TRIGGER._ASYBARS,
- TRIGGER._ASYBARS01,TRIGGER._ASYDOORB,TRIGGER._FMDOOR07,"FMDOOR07",TRIGGER._FMDOOR08,"FMDOOR08",
- TRIGGER._DT_ASYLUM_BACK_EXIT,"TINDUST_REDSTAR_SECURITY_DOOR",TRIGGER._TINDUST_SHDOOR_03,TRIGGER._TINDUST_SHDOOR_04,
- TRIGGER._TINDUST_REDSTAR_SECURITY_DOOR,"5_B_CHEM_DOOR","5_B_CHEM_DOOR_2","DT_ChemPlant_DoorL",
- TRIGGER._5_B_SECDOOR1,TRIGGER._5_B_SECDOOR2,POINTLIST._5_B_START,TRIGGER._5_B_CHEM_DOOR_2,TRIGGER._5_B_CHEM_DOOR_2,
- "DT_INDOOR_WHOUSEFRONT","DT_INDOOR_WHOUSEROOF","DT_whouse_front","DT_whouse_roof",TRIGGER._DT_TSCHOOL_SCHOOLFRONTDOORL,
- TRIGGER._TSCHOOL_SCHOOLFRONTDOORR,TRIGGER._DT_TSCHOOL_SCHOOLFRONTDOORL,"DT_GYM_DOORL","DT_POOL_DOORL",
- "GYML_DOORR","POOL_DOORR","DT_GDORM_DOORL","GDORM_UPPERDOORSTORAGE","GDORM_DOORR","DT_GDORM_DOORLEXIT",
- "ESCDOORL","DT_LIBRARYEXITR","DT_GDORM_DOORLEXIT","ESCDOORL",TRIGGER._TSCHOOL_PARKINGGATE,TRIGGER._CELLDOOR,
- TRIGGER._CELLDOOR12,TRIGGER._CELLDOOR14,TRIGGER._CELLDOOR15,TRIGGER._CELLDOOR16,TRIGGER._CELLDOOR17,
- TRIGGER._CELLDOOR18,TRIGGER._CELLDOOR19,TRIGGER._CELLDOOR20,TRIGGER._CELLDOOR21,TRIGGER._FMDOOR02,TRIGGER._ASYDOORB,
- TRIGGER._ASYDOORS,TRIGGER._ASYDOORS10,TRIGGER._ASYDOORS11,TRIGGER._ASYDOORS12,TRIGGER._ASYDOORS13,
- TRIGGER._ASYDOORS14,TRIGGER._ASYDOORS15,TRIGGER._DT_ISCHOOL_JANITOR,"DT_CLASSR_DOORL","DT_ischool_Art",
- TRIGGER._TINDUST_REDSTAR_GATE_01,"DT_trich_BikeShopDoor","DT_trich_FirewShopDoor","DT_trich_ClothRichDoor",
- "DT_trich_GenShopDoor",TRIGGER._JANDOORS00,TRIGGER._JANDOORS01,TRIGGER._JANDOORS02,TRIGGER._JANDOORS03B,
- TRIGGER._DT_JANITOR_SCHOOLEXIT,"TINDUST_REDSTAR_GATE_01",TRIGGER._CARNGATE01,TRIGGER._CARNGATE02,
- TRIGGER._CARNGATE03,TRIGGER._CARNGATE04,TRIGGER._IFUNHOUS_FMTRAPDR,TRIGGER._IFUNHOUS_FMTRAPDR01,
- TRIGGER._DT_ischool_AuditorDoorL,TRIGGER._DT_iSafeDrop_DoorL,TRIGGER._5_03_Control_Room_Door,TRIGGER._DT_TINDUST_CHEMEX_DOOR,
- TRIGGER._DT_Observatory,TRIGGER._DT_ASYLUM_FRONT_DOOR,TRIGGER._DT_classr_doorL,TRIGGER._DT_classr2_doorL,
- TRIGGER._DT_ChemPlant_DoorL,TRIGGER._3_S11_Path1_Door1,TRIGGER._3_S11_Path1_Door3,TRIGGER._3_S11_Path2_Door1,
- TRIGGER._3_S11_Path2_Door2,TRIGGER._5_03_Rec_Room,TRIGGER._5_03_Patient_Room1,TRIGGER._5_03_Patient_Room2,
- TRIGGER._5_03_Patient_Room3,TRIGGER._DT_ASYLUM_BACK_EXIT,TRIGGER._DT_ASYLUM_FRONT_DOOR,TRIGGER._DT_ASYLUM_SIDE_EXIT,
- TRIGGER._DT_ischool_RoofDoor,TRIGGER._DT_ischool_Staff,TRIGGER._DT_ISCHOOL_BIO,TRIGGER._DT_iSafeDrop_DoorL,
- TRIGGER._DT_tind_SafeDrop,TRIGGER._DT_tschool_SafeJock,TRIGGER._DT_iSafeGrsr_DoorL,TRIGGER._DT_tpoor_SafeGreaser,
- TRIGGER._DT_ischool_Art,TRIGGER._DT_ischool_AuditorBalc,TRIGGER._DT_ischool_Classroom,TRIGGER._DT_tschool_SchoolSideDoorL,
- TRIGGER._DT_ischool_Door01,TRIGGER._DT_Janitor_SchoolExit,TRIGGER._DT_Janitor_MainExit,TRIGGER._DT_ASYLUM_FRONT_DOOR,
- TRIGGER._DT_ASYLUM_SIDE_EXIT,TRIGGER._DT_classr_doorL,TRIGGER._DT_ChemPlant_DoorL,TRIGGER._DT_ischool_Classroom,
- TRIGGER._DT_ISCHOOL_CHEM,TRIGGER._DT_ischool_Janitor,TRIGGER._DT_ischool_PrincipalDoorL,TRIGGER._DT_ischool_Classroom,
- TRIGGER._DT_Tenement_Window,TRIGGER._DT_ASYLUM_BACK_EXIT,TRIGGER._DT_iSafeNerd_DoorL,TRIGGER._5_03_Control_Orderly_Path,
- TRIGGER._3_S11_Asylum_Gate_Warning,TRIGGER._3_S11_Asylum_Gate_Warning2,TRIGGER._ASYLUM_FRONT_DOOR_R,
- TRIGGER._DT_tschool_SchoolSideDoorL,TRIGGER._5_B_DEBUG_STAGE4,TRIGGER._5_B_EDGARMOVETO,TRIGGER._ChemPlantLower,
- TRIGGER._ChemPlantStairTunnel,TRIGGER._DT_TSCHOOL_ROOFDOOR,TRIGGER._ISCHOOL_DOOR25,
- }
- end
- function SETUP_Vehicles()
- Vehicles = {}
- for VehicleID = 275,298 do
- table.insert(Vehicles,VehicleID)
- end
- end
- local MOD_SETUP = {
- SETUP_Model,SETUP_Outfits,SETUP_Clothes,SETUP_Areas,SETUP_Doors,SETUP_Vehicles
- }
- for SETUP_NUMBER,SETUP in ipairs(MOD_SETUP) do
- SETUP()
- end
- -- Add blips:
- Model_Blips = {
- {psx = -490.6,psy = 314.3,psz = 31.4},
- {psx = -767.4,psy = 355.3,psz = 6.4},
- {psx = -737.3,psy = 38.3,psz = -2.3},
- {psx = -692.2,psy = 347.9,psz = 3.2},
- {psx = -661.5,psy = 244.2,psz = 15.2},
- {psx = -747.1,psy = 356.6,psz = 3.5},
- }
- for i,blips in ipairs(Model_Blips) do
- BlipAddXYZ(blips.psx,blips.psy,blips.psz,0,0,12)
- end
- VehicleBlip = BlipAddXYZ(161.9,-7.9,6.0,0,0,11)
- VehicleBlip2 = BlipAddXYZ(526.8,-411.3,2.1,0,0,11)
- AreaBlip = BlipAddXYZ(-498.3,309.0,31.3,0,0,10)
- -- Animation groups:
- local Anims = {
- -- BETA Idle:
- "GEN_SOCIAL",
- "4_06BigGame",
- "NIS_4_06",
- "MINI_Lock",
- -- Style animations:
- "Authority",
- "Boxing",
- "Russell",
- "Nemesis",
- "B_Striker",
- "CV_Female",
- "CV_Male",
- "DO_Edgar",
- "DO_Grap",
- "DO_StrikeCombo",
- "DO_Striker",
- "F_Adult",
- "F_BULLY",
- "F_Douts",
- "F_Girls",
- "F_Greas",
- "F_Jocks",
- "F_Nerds",
- "F_OldPeds",
- "F_Pref",
- "F_Preps",
- "G_Grappler",
- "G_Johnny",
- "G_Striker",
- "Grap",
- "J_Damon",
- "J_Grappler",
- "J_Melee",
- "J_Ranged",
- "J_Striker",
- "LE_Orderly",
- "N_Ranged",
- "N_Striker",
- "N_Striker_A",
- "N_Striker_B",
- "P_Grappler",
- "P_Striker",
- "PunchBag",
- "Qped",
- "Rat_Ped",
- "Russell_Pbomb",
- "Straf_Dout",
- "Straf_Fat",
- "Straf_Female",
- "Straf_Male",
- "Straf_Nerd",
- "Straf_Prep",
- "Straf_Savage",
- "Straf_Wrest",
- "TE_Female",
- "MINI_React",
- }
- -- Load animation groups:
- for i,Anim in ipairs(Anims) do
- LoadAnimationGroup(Anim)
- end
- -- CreateThread:
- local Thread = {
- "UM_Menu","UM_System","UM_FightingMode","UM_FixBugs","UM_Movements"
- }
- for i = 1,5 do
- CreateThread(Thread[i])
- end
- -- Loaded:
- gData.SystemIsLoaded = true
- end
- function main()
- while true do
- if not gData.SystemIsLoaded then
- while not SystemIsReady() or AreaIsLoading() do
- Wait(0)
- end
- Setup_Mod()
- else
- Wait(0)
- end
- end
- end
- -- STimeCycle functions:
- function F_AttendedClass()
- if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
- return
- end
- SetSkippedClass(false)
- PlayerSetPunishmentPoints(0)
- end
- function F_MissedClass()
- if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
- return
- end
- SetSkippedClass(true)
- StatAddToInt(166)
- end
- function F_AttendedCurfew()
- if not PedInConversation(gPlayer) and not MissionActive() then
- TextPrintString("You got home in time for curfew", 4)
- end
- end
- function F_MissedCurfew()
- if not PedInConversation(gPlayer) and not MissionActive() then
- TextPrint("TM_TIRED5", 4, 2)
- end
- end
- function F_StartClass()
- if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
- return
- end
- end
- function F_EndClass()
- if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
- return
- end
- end
- function F_StartMorning()
- F_UpdateTimeCycle()
- end
- function F_EndMorning()
- F_UpdateTimeCycle()
- end
- function F_StartLunch()
- if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
- F_UpdateTimeCycle()
- return
- end
- F_UpdateTimeCycle()
- end
- function F_EndLunch()
- F_UpdateTimeCycle()
- end
- function F_StartAfternoon()
- F_UpdateTimeCycle()
- end
- function F_EndAfternoon()
- F_UpdateTimeCycle()
- end
- function F_StartEvening()
- F_UpdateTimeCycle()
- end
- function F_EndEvening()
- F_UpdateTimeCycle()
- end
- function F_StartCurfew_SlightlyTired()
- F_UpdateTimeCycle()
- end
- function F_StartCurfew_Tired()
- F_UpdateTimeCycle()
- end
- function F_StartCurfew_MoreTired()
- F_UpdateTimeCycle()
- end
- function F_StartCurfew_TooTired()
- F_UpdateTimeCycle()
- end
- function F_EndCurfew_TooTired()
- F_UpdateTimeCycle()
- end
- function F_EndTired()
- F_UpdateTimeCycle()
- end
- function F_Nothing()
- end
- function F_ClassWarning()
- if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
- return
- end
- local l_23_0 = math.random(1, 2)
- end
- function F_UpdateTimeCycle()
- if not IsMissionCompleated("1_B") then
- local l_24_0 = GetCurrentDay(false)
- if l_24_0 < 0 or l_24_0 > 2 then
- SetCurrentDay(0)
- end
- end
- F_UpdateCurfew()
- end
- function F_UpdateCurfew()
- local l_25_0 = shared.gCurfewRules
- if not l_25_0 then
- l_25_0 = F_CurfewDefaultRules
- end
- l_25_0()
- end
- function F_CurfewDefaultRules()
- local l_26_0 = ClockGet()
- if l_26_0 >= 23 or l_26_0 < 7 then
- shared.gCurfew = false
- else
- shared.gCurfew = false
- end
- end
Comments
-
- bro how to separate unlimited health, ammo, immortality only?
Add Comment
Please, Sign In to add comment