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


Author Topic: Questions about local multiplayer  (Read 5347 times)

0 Members and 4 Guests are viewing this topic.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Questions about local multiplayer
« on: July 27, 2015, 10:18:36 AM »
how do i make player 2 sprint, climbing walls especially his style i have the nodes but how do it make him fight like jimmy? i hope i dont annoy you guys :wacko:. here are my codes:

local weaponSelect = 1
local weapons = {}

function MissionSetup()
  AreaTransitionXYZ(0,302.8304138,-71.37110138,5)
  PlayerSetHealth(PedGetMaxHealth(gPlayer))
  Player2 = PedCreateXYZ(2, 303.0464783, -73.48997498, 5)
  PedSetAITree(Player2, "/Global/PlayerAI", "Act/AI/PlayerAI.act")
  PedSwapModel(Player2, "player")
  PedSetStatsType(Player2, "STAT_PLAYER")
  PedSetControllerID(Player2,1)
  PedSetActionTree(Player2, "/Global/Player", "Act/Anim/Player.act")
  PedRecruitAlly(gPlayer, Player2)
  PedSetInfiniteSprint(Player2,true)
  PedSetFaction(Player2, 13)
  CameraAllowScriptedChange(true)
  CameraAllowChange(true)
  CameraReset()
  CreateThread("Style")
  F_SetupWeapons()
  LoadAllAnim()
  local x,y,r1,r2,r3,r4 = 0,0,0,0,0,0
 while true do
  x,y = PedGetPosXYZ(Player2)
   r1 = x + 1.75
   r2 = y + 1.75
   r3 = x - 1.75
   r4 = y - 1.75
   r,l,e = PedGetPosXYZ(gPlayer)
   one = r + 6
   two = l + 6
   three = e + 6
   x,y,z = PedGetPosXYZ(gPlayer)
   w = x + 0.5
   x = y + 0.5
   q = z + 0.5
   if PedInRectangle(Player2,r1,r2,r3,r4) then
   CameraSetXYZ(one,two,three)
   CameraLookAtPlayer()
   CameraAllowChange(true)
  elseif PedInRectangle(Player2,r1,r2,r3,r4) and IsButtonBeingPressed(0,0) then
  TextPrintString("Camera: Top",4,1)
  CameraSetXYZ(one,two,three)
  CameraLookAtPlayer()
  CameraAllowScriptedChange(true)
  CameraAllowChange(true)
  elseif PedInRectangle(Player2,r1,r2,r3,r4) and IsButtonBeingPressed(2,1) then
  TextPrintString("Teleported",4,1)
  PedSetPosXYZ(Player2,w,x,q)
  CameraAllowChange(true)   
  elseif PedInRectangle(Player2,r1,r2,r3,r4) and IsButtonBeingPressed(1,1) then
  TextPrintString("Camera: Player 2",4,1)
  CameraFollowPed(Player2)
  CameraAllowScriptedChange(true)
  CameraAllowChange(true)
  CameraReset()
  elseif PedInRectangle(Player2,r1,r2,r3,r4) and IsButtonBeingPressed(1,0) then
  TextPrintString("Camera: Player 1",4,1)
  CameraReturnToPlayer()
  CameraFollowPed(gPlayer)
  CameraAllowChange(true)
  CameraAllowScriptedChange(true)
end
Wait(0)
end
end 

function main()
  F_MissionStart()
end

F_SetupWeapons = function()
  table.insert(weapons,{name = "Fists",model = 0})
  table.insert(weapons,{name = "Skateboard",model = 437})
  table.insert(weapons,{name = "Camera",model = 328})
  table.insert(weapons,{name = "Itching Powder",model = 394})
  table.insert(weapons,{name = "Marble",model = 304})
  table.insert(weapons,{name = "Rubber Band Ball",model = 325})
  table.insert(weapons,{name = "Eggs",model = 312})
  table.insert(weapons,{name = "Stink Bomb",model = 309})
  table.insert(weapons,{name = "Rocket Launcher",model = 307})
  table.insert(weapons,{name = "Slingshot",model = 303})
  table.insert(weapons,{name = "Super Slingshot",model = 306})
  table.insert(weapons,{name = "Spudgun",model = 305})
  table.insert(weapons,{name = "Firecracker",model = 301})
  table.insert(weapons,{name = "Newspaper",model = 320})
end

F_WeaponSelect = function()
  while true do
  if IsButtonBeingPressed(11,1) and weaponSelect > 1 then
    weaponSelect = weaponSelect - 1
   PedSetWeapon(gPlayer,weapons[weaponSelect].model,50)
    TextPrintString("Weapon: "..weapons[weaponSelect].name,2,1)
  elseif IsButtonBeingPressed(13,1) and weaponSelect < table.getn(weapons) then
    weaponSelect = weaponSelect + 1
   PedSetWeapon(gPlayer,weapons[weaponSelect].model,50)
    TextPrintString("Weapon: "..weapons[weaponSelect].name,2,1)
  end
  Wait(0)
end
end

function Style()
  while true do
  if IsButtonBeingPressed(6,1) then
  PedSetActionNode(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act")
  elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act") then
  PedSetActionNode(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right2", "Act/Anim/BoxingPlayer.act")
  elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right2", "Act/Anim/BoxingPlayer.act") and not PedIsDead(Player2) then
  PedSetActionNode(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left3", "Act/Anim/BoxingPlayer.act")
  elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left3", "Act/Anim/BoxingPlayer.act") and not PedIsDead(Player2) then
  PedSetActionNode(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right4", "Act/Anim/BoxingPlayer.act")
  elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right4", "Act/Anim/BoxingPlayer.act") and not PedIsDead(Player2) then
  PedSetActionNode(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left5", "Act/Anim/BoxingPlayer.act")
  elseif IsButtonBeingReleased(6,1) and PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act")  and not PedIsDead(Player2) then
  PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks","Act/Anim/Player.act")
  elseif IsButtonBeingReleased(6,1) and PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act") then
  PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2","Act/Anim/Player.act")
  elseif IsButtonBeingReleased(6,1) and PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2","Act/Anim/Player.act") then
  PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3","Act/Anim/Player.act")
  elseif IsButtonBeingReleased(6,1) and PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3","Act/Anim/Player.act") then
  PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4","Act/Anim/Player.act")
  elseif IsButtonBeingReleased(6,1) and PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4","Act/Anim/Player.act") then
  PedSetActionNode(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch","Act/Anim/Player.act")
  elseif IsButtonBeingPressed(6,1) and PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act")  and PedIsValid(Player2) and not PedIsDead(Player2) then
  PedSetActionNode(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right2", "Act/Anim/BoxingPlayer.act")
  while PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left1", "Act/Anim/BoxingPlayer.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right2", "Act/Anim/BoxingPlayer.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left3", "Act/Anim/BoxingPlayer.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Right4", "Act/Anim/BoxingPlayer.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/BoxingPlayer/Attacks/BoxingAttacks/LightAttacks/Left5", "Act/Anim/BoxingPlayer.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks","Act/Anim/Player.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2","Act/Anim/Player.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3","Act/Anim/Player.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4","Act/Anim/Player.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2/Left3/Right4/Release/GutPunch","Act/Anim/Player.act") do
  Wait(0)
  end
  while PedIsPlaying(Player2, "/Global/Player/JumpActions/Jump/IdleJump/IdleJump", "Act/Anim/Player.act") do
  Wait(0)
  end
  elseif IsButtonBeingPressed(15,1) then
  PedSetFlag(Player2, 2, true)
  elseif IsButtonBeingPressed(14,1) then
  PedSetFlag(Player2, 2, false) 
  elseif IsButtonBeingPressed(8,1) and not IsButtonBeingPressed(16,1) and not IsButtonBeingPressed(17,1) and not IsButtonBeingPressed(18,1) and not IsButtonBeingPressed(19,1) then
  PedSetActionNode(Player2, "/Global/Player/JumpActions/Jump/IdleJump/IdleJump", "Act/Anim/Player.act")
end
Wait(0)
end
end

function F_MissionStart()
  F_WeaponSelect()
end

function LoadAllAnim()
  LoadAnimationGroup("Authority")
  LoadAnimationGroup("Boxing")
  LoadAnimationGroup("B_Striker")
  LoadAnimationGroup("CV_Female")
  LoadAnimationGroup("CV_Male")
  LoadAnimationGroup("DO_Edgar")
  LoadAnimationGroup("DO_Grap")
  LoadAnimationGroup("DO_StrikeCombo")
  LoadAnimationGroup("DO_Striker")
  LoadAnimationGroup("F_Adult")
  LoadAnimationGroup("F_BULLY")
  LoadAnimationGroup("F_Crazy")
  LoadAnimationGroup("F_Douts")
  LoadAnimationGroup("F_Girls")
  LoadAnimationGroup("F_Greas")
  LoadAnimationGroup("F_Jocks")
  LoadAnimationGroup("F_Nerds")
  LoadAnimationGroup("F_OldPeds")
  LoadAnimationGroup("F_Pref")
  LoadAnimationGroup("F_Preps")
  LoadAnimationGroup("G_Grappler")
  LoadAnimationGroup("G_Johnny")
  LoadAnimationGroup("G_Striker")
  LoadAnimationGroup("Grap")
  LoadAnimationGroup("J_Damon")
  LoadAnimationGroup("J_Grappler")
  LoadAnimationGroup("J_Melee")
  LoadAnimationGroup("J_Ranged")
  LoadAnimationGroup("J_Striker")
  LoadAnimationGroup("LE_Orderly")
  LoadAnimationGroup("Nemesis")
  LoadAnimationGroup("N_Ranged")
  LoadAnimationGroup("N_Striker")
  LoadAnimationGroup("N_Striker_A")
  LoadAnimationGroup("N_Striker_B")
  LoadAnimationGroup("P_Grappler")
  LoadAnimationGroup("P_Striker")
  LoadAnimationGroup("PunchBag")
  LoadAnimationGroup("Qped")
  LoadAnimationGroup("Rat_Ped")
  LoadAnimationGroup("Russell")
  LoadAnimationGroup("Russell_Pbomb")
  LoadAnimationGroup("Straf_Dout")
  LoadAnimationGroup("Straf_Fat")
  LoadAnimationGroup("Straf_Female")
  LoadAnimationGroup("Straf_Male")
  LoadAnimationGroup("Straf_Nerd")
  LoadAnimationGroup("Straf_Prep")
  LoadAnimationGroup("Straf_Savage")
  LoadAnimationGroup("Straf_Wrest")
  LoadAnimationGroup("TE_Female")
  LoadAnimationGroup("1_02BYourSchool")
  LoadAnimationGroup("1_02_MeetWithGary")
  LoadAnimationGroup("1_03The Setup")
  LoadAnimationGroup("1_04TheSlingshot")
  LoadAnimationGroup("1_06ALittleHelp")
  LoadAnimationGroup("1_07_SaveBucky")
  LoadAnimationGroup("1_07_Sk8Board")
  LoadAnimationGroup("1_08ThatBitch")
  LoadAnimationGroup("1_08_MandPuke")
  LoadAnimationGroup("1_09_Candidate")
  LoadAnimationGroup("1_10Betrayal")
  LoadAnimationGroup("1_11B_HeBigPrank")
  LoadAnimationGroup("1_G1_TheDiary")
  LoadAnimationGroup("1_S01HatVsGall")
  LoadAnimationGroup("2_01LastMinuteShop")
  LoadAnimationGroup("2_02ComicKlepto")
  LoadAnimationGroup("2_05TadsHouse")
  LoadAnimationGroup("2_06MovieTickets")
  LoadAnimationGroup("2_07BeachRumble")
  LoadAnimationGroup("2_08WeedKiller")
  LoadAnimationGroup("2_4RichAreaRace")
  LoadAnimationGroup("2_G2CarnivalDate")
  LoadAnimationGroup("2_G2_GiftExchange")
  LoadAnimationGroup("2_R03PaperRoute")
  LoadAnimationGroup("2_S02CharSheets")
  LoadAnimationGroup("2_S04CharSheets")
  LoadAnimationGroup("2_S05_CooksCrush")
  LoadAnimationGroup("2_S06PantyRaid")
  LoadAnimationGroup("3_01JealousJohnny")
  LoadAnimationGroup("3_04WrongPtTown")
  LoadAnimationGroup("3_05TheTenements")
  LoadAnimationGroup("3_BFightJohnnyV")
  LoadAnimationGroup("3_G3")
  LoadAnimationGroup("3_R05ChemicalDeliv")
  LoadAnimationGroup("3_R08RaceLeague")
  LoadAnimationGroup("3_S03CheatinTime")
  LoadAnimationGroup("4_01Paparazzi")
  LoadAnimationGroup("4_04_FunhouseFun")
  LoadAnimationGroup("4_06BigGame")
  LoadAnimationGroup("4_B2_JockBossBattle")
  LoadAnimationGroup("5_01Grp")
  LoadAnimationGroup("5_01Rats")
  LoadAnimationGroup("5_02PrVandalized")
  LoadAnimationGroup("5_05Zoe")
  LoadAnimationGroup("5_09MakingAMark")
  LoadAnimationGroup("6B_PARA")
  LoadAnimationGroup("AGymLght")
  LoadAnimationGroup("Ambient")
  LoadAnimationGroup("Ambient2")
  LoadAnimationGroup("Ambient3")
  LoadAnimationGroup("ANIBBALL")
  LoadAnimationGroup("AniBroom")
  LoadAnimationGroup("AniDice")
  LoadAnimationGroup("AniFooty")
  LoadAnimationGroup("AniGlobe")
  LoadAnimationGroup("AnimSave")
  LoadAnimationGroup("AniPillo")
  LoadAnimationGroup("ARC3D")
  LoadAnimationGroup("Area_Asylum")
  LoadAnimationGroup("Area_Funhouse")
  LoadAnimationGroup("Area_GirlsDorm")
  LoadAnimationGroup("Area_Infirmary")
  LoadAnimationGroup("Area_School")
  LoadAnimationGroup("Area_Tenements")
  LoadAnimationGroup("Armor")
  LoadAnimationGroup("AsyBars")
  LoadAnimationGroup("AsyDoorB")
  LoadAnimationGroup("AsyDoors")
  LoadAnimationGroup("AsyGate")
  LoadAnimationGroup("AsyLever")
  LoadAnimationGroup("AsySwtch")
  LoadAnimationGroup("AtcPlank")
  LoadAnimationGroup("Authority")
  LoadAnimationGroup("BANANA")
  LoadAnimationGroup("barelLad")
  LoadAnimationGroup("BarrGate")
  LoadAnimationGroup("BATON")
  LoadAnimationGroup("BBALL_21")
  LoadAnimationGroup("bbgun")
  LoadAnimationGroup("BCatcher")
  LoadAnimationGroup("BdrDoorL")
  LoadAnimationGroup("BeardLady")
  LoadAnimationGroup("Bike")
  LoadAnimationGroup("BikeGar")
  LoadAnimationGroup("BoldRoll")
  LoadAnimationGroup("BoltCutt")
  LoadAnimationGroup("Boxing")
  LoadAnimationGroup("BoxRopes")
  LoadAnimationGroup("BRDoor")
  LoadAnimationGroup("BrkSwtch")
  LoadAnimationGroup("BROCKETL")
  LoadAnimationGroup("BRSwitch")
  LoadAnimationGroup("BusDoors")
  LoadAnimationGroup("Butcher")
  LoadAnimationGroup("BXPBag")
  LoadAnimationGroup("B_Striker")
  LoadAnimationGroup("CarnCurt")
  LoadAnimationGroup("CARNI01")
  LoadAnimationGroup("carnies")
  LoadAnimationGroup("Car_Ham")
  LoadAnimationGroup("Cavalier")
  LoadAnimationGroup("Cheer_Cool1")
  LoadAnimationGroup("Cheer_Cool2")
  LoadAnimationGroup("Cheer_Cool3")
  LoadAnimationGroup("Cheer_Gen1")
  LoadAnimationGroup("Cheer_Gen2")
  LoadAnimationGroup("Cheer_Gen3")
  LoadAnimationGroup("Cheer_Girl1")
  LoadAnimationGroup("Cheer_Girl2")
  LoadAnimationGroup("Cheer_Girl3")
  LoadAnimationGroup("Cheer_Girl4")
  LoadAnimationGroup("Cheer_Nerd1")
  LoadAnimationGroup("Cheer_Nerd2")
  LoadAnimationGroup("Cheer_Nerd3")
  LoadAnimationGroup("Cheer_Posh1")
  LoadAnimationGroup("Cheer_Posh2")
  LoadAnimationGroup("Cheer_Posh3")
  LoadAnimationGroup("Chem_Set")
  LoadAnimationGroup("ChLead_Idle")
  LoadAnimationGroup("CLadderA")
  LoadAnimationGroup("CnGate")
  LoadAnimationGroup("Coaster")
  LoadAnimationGroup("COPBIKE")
  LoadAnimationGroup("Cop_Frisk")
  LoadAnimationGroup("CV_Female")
  LoadAnimationGroup("CV_Male")
  LoadAnimationGroup("C_Wrestling")
  LoadAnimationGroup("DartBrd")
  LoadAnimationGroup("DartCab")
  LoadAnimationGroup("DodgeBall")
  LoadAnimationGroup("DodgeBall2")
  LoadAnimationGroup("DoorStr1")
  LoadAnimationGroup("DO_Edgar")
  LoadAnimationGroup("DO_Grap")
  LoadAnimationGroup("DO_StrikeCombo")
  LoadAnimationGroup("DO_Striker")
  LoadAnimationGroup("DRBrace")
  LoadAnimationGroup("Drumming")
  LoadAnimationGroup("DuffBag")
  LoadAnimationGroup("DunkBttn")
  LoadAnimationGroup("DunkSeat")
  LoadAnimationGroup("Earnest")
  LoadAnimationGroup("EnglishClass")
  LoadAnimationGroup("ErrandCrab")
  LoadAnimationGroup("Errand_BUS")
  LoadAnimationGroup("Errand_IND")
  LoadAnimationGroup("Errand_RIC")
  LoadAnimationGroup("Errand_SCH")
  LoadAnimationGroup("ESCDoorL")
  LoadAnimationGroup("ESCDoorR")
  LoadAnimationGroup("ExtWind")
  LoadAnimationGroup("FDoor")
  LoadAnimationGroup("FDoorB")
  LoadAnimationGroup("FDoorC")
  LoadAnimationGroup("Ferris")
  LoadAnimationGroup("FGhost")
  LoadAnimationGroup("FGoblin")
  LoadAnimationGroup("FlagA")
  LoadAnimationGroup("FLbBook")
  LoadAnimationGroup("FlbLader")
  LoadAnimationGroup("FLbPaint")
  LoadAnimationGroup("FLbTable")
  LoadAnimationGroup("FMCntrl")
  LoadAnimationGroup("FMDoor")
  LoadAnimationGroup("FMTrapDr")
  LoadAnimationGroup("FMTrapSw")
  LoadAnimationGroup("FortTell")
  LoadAnimationGroup("funCart")
  LoadAnimationGroup("funCurtn")
  LoadAnimationGroup("funMiner")
  LoadAnimationGroup("funRocks")
  LoadAnimationGroup("FunTeeth")
  LoadAnimationGroup("FXTestG")
  LoadAnimationGroup("F_Adult")
  LoadAnimationGroup("F_BULLY")
  LoadAnimationGroup("F_Crazy")
  LoadAnimationGroup("F_Douts")
  LoadAnimationGroup("F_Girls")
  LoadAnimationGroup("F_Greas")
  LoadAnimationGroup("F_Jocks")
  LoadAnimationGroup("F_Nerds")
  LoadAnimationGroup("F_OldPeds")
  LoadAnimationGroup("F_Pref")
  LoadAnimationGroup("F_Preps")
  LoadAnimationGroup("GarbCanA")
  LoadAnimationGroup("GatCool")
  LoadAnimationGroup("GEN_SOCIAL")
  LoadAnimationGroup("Gfight")
  LoadAnimationGroup("GhostDrs")
  LoadAnimationGroup("Gift")
  LoadAnimationGroup("Go_Cart")
  LoadAnimationGroup("Grap")
  LoadAnimationGroup("GymHoop")
  LoadAnimationGroup("GymWLad")
  LoadAnimationGroup("G_Grappler")
  LoadAnimationGroup("G_Johnny")
  LoadAnimationGroup("G_Striker")
  LoadAnimationGroup("Halloween")
  LoadAnimationGroup("HallWind")
  LoadAnimationGroup("Hang_Jock")
  LoadAnimationGroup("Hang_Moshing")
  LoadAnimationGroup("Hang_Talking")
  LoadAnimationGroup("Hang_Workout")
  LoadAnimationGroup("Hobos")
  LoadAnimationGroup("Hobo_Cheer")
  LoadAnimationGroup("HSdinger")
  LoadAnimationGroup("HUMIL_4-10_B")
  LoadAnimationGroup("HUMIL_4-10_C")
  LoadAnimationGroup("HUMIL_5-8F_A")
  LoadAnimationGroup("HUMIL_5-8F_B")
  LoadAnimationGroup("HUMIL_5-8V4-10")
  LoadAnimationGroup("HUMIL_5-8V6-1")
  LoadAnimationGroup("HUMIL_5-8VPLY")
  LoadAnimationGroup("HUMIL_5-8_A")
  LoadAnimationGroup("HUMIL_5-8_B")
  LoadAnimationGroup("HUMIL_5-8_C")
  LoadAnimationGroup("HUMIL_6-1V4-10")
  LoadAnimationGroup("HUMIL_6-1V6-1")
  LoadAnimationGroup("HUMIL_6-1VPLY")
  LoadAnimationGroup("HUMIL_6-1_A")
  LoadAnimationGroup("HUMIL_6-1_B")
  LoadAnimationGroup("HUMIL_6-1_C")
  LoadAnimationGroup("HUMIL_6-5V4-10")
  LoadAnimationGroup("HUMIL_6-5V6-1")
  LoadAnimationGroup("HUMIL_6-5VPLY")
  LoadAnimationGroup("HUMIL_6-5_A")
  LoadAnimationGroup("HUMIL_6-5_B")
  LoadAnimationGroup("HUMIL_6-5_C")
  LoadAnimationGroup("IDLE_AUTH_A")
  LoadAnimationGroup("IDLE_AUTH_B")
  LoadAnimationGroup("IDLE_AUTH_C")
  LoadAnimationGroup("IDLE_AUTH_D")
  LoadAnimationGroup("IDLE_BULLY_A")
  LoadAnimationGroup("IDLE_BULLY_B")
  LoadAnimationGroup("IDLE_BULLY_C")
  LoadAnimationGroup("IDLE_BULLY_D")
  LoadAnimationGroup("IDLE_CIVF_A")
  LoadAnimationGroup("IDLE_CIVF_B")
  LoadAnimationGroup("IDLE_CIVF_C")
  LoadAnimationGroup("IDLE_CIVM_A")
  LoadAnimationGroup("IDLE_CIVM_B")
  LoadAnimationGroup("IDLE_CIVM_C")
  LoadAnimationGroup("IDLE_DOUT_A")
  LoadAnimationGroup("IDLE_DOUT_B")
  LoadAnimationGroup("IDLE_DOUT_C")
  LoadAnimationGroup("IDLE_DOUT_D")
  LoadAnimationGroup("IDLE_FATG_A")
  LoadAnimationGroup("IDLE_FATG_B")
  LoadAnimationGroup("IDLE_FATG_C")
  LoadAnimationGroup("IDLE_FAT_A")
  LoadAnimationGroup("IDLE_FAT_B")
  LoadAnimationGroup("IDLE_FAT_C")
  LoadAnimationGroup("IDLE_GREAS_A")
  LoadAnimationGroup("IDLE_GREAS_B")
  LoadAnimationGroup("IDLE_GREAS_C")
  LoadAnimationGroup("IDLE_GREAS_D")
  LoadAnimationGroup("IDLE_GSF_A")
  LoadAnimationGroup("IDLE_GSF_B")
  LoadAnimationGroup("IDLE_GSF_C")
  LoadAnimationGroup("IDLE_GSM_A")
  LoadAnimationGroup("IDLE_GSM_B")
  LoadAnimationGroup("IDLE_GSM_C")
  LoadAnimationGroup("IDLE_JOCK_A")
  LoadAnimationGroup("IDLE_JOCK_B")
  LoadAnimationGroup("IDLE_JOCK_C")
  LoadAnimationGroup("IDLE_JOCK_D")
  LoadAnimationGroup("IDLE_NERD_A")
  LoadAnimationGroup("IDLE_NERD_B")
  LoadAnimationGroup("IDLE_NERD_C")
  LoadAnimationGroup("IDLE_NERD_D")
  LoadAnimationGroup("IDLE_NGIRL")
  LoadAnimationGroup("IDLE_PREP_A")
  LoadAnimationGroup("IDLE_PREP_B")
  LoadAnimationGroup("IDLE_PREP_C")
  LoadAnimationGroup("IDLE_PREP_D")
  LoadAnimationGroup("IDLE_SEXY_A")
  LoadAnimationGroup("IDLE_SEXY_B")
  LoadAnimationGroup("IDLE_SEXY_C")
  LoadAnimationGroup("INDgateC")
  LoadAnimationGroup("JPhoto")
  LoadAnimationGroup("JunkCarA")
  LoadAnimationGroup("JV_Asylum")
  LoadAnimationGroup("J_Damon")
  LoadAnimationGroup("J_Grappler")
  LoadAnimationGroup("J_Melee")
  LoadAnimationGroup("J_Ranged")
  LoadAnimationGroup("J_Striker")
  LoadAnimationGroup("KISS1")
  LoadAnimationGroup("KISS2")
  LoadAnimationGroup("KISS3")
  LoadAnimationGroup("KISS4")
  LoadAnimationGroup("KissAdult")
  LoadAnimationGroup("KISSB")
  LoadAnimationGroup("KISSF")
  LoadAnimationGroup("LckrGymA")
  LoadAnimationGroup("LE_Officer")
  LoadAnimationGroup("LE_Orderly")
  LoadAnimationGroup("Mermaid")
  LoadAnimationGroup("MG_Craps")
  LoadAnimationGroup("MINIBIKE")
  LoadAnimationGroup("MINICHEM")
  LoadAnimationGroup("MINIDARTS")
  LoadAnimationGroup("MINIDunk")
  LoadAnimationGroup("MINIGraf")
  LoadAnimationGroup("MINIHACKY")
  LoadAnimationGroup("MINI_Arm")
  LoadAnimationGroup("MINI_BallToss")
  LoadAnimationGroup("MINI_Lock")
  LoadAnimationGroup("MINI_React")
  LoadAnimationGroup("Miracle")
  LoadAnimationGroup("MOWER")
  LoadAnimationGroup("MPostA")
  LoadAnimationGroup("N2B Dishonerable")
  LoadAnimationGroup("Nemesis")
  LoadAnimationGroup("nerdBar1")
  LoadAnimationGroup("NIS_0_00A")
  LoadAnimationGroup("NIS_1_02")
  LoadAnimationGroup("NIS_1_02B")
  LoadAnimationGroup("NIS_1_03")
  LoadAnimationGroup("NIS_1_04")
  LoadAnimationGroup("NIS_1_05")
  LoadAnimationGroup("NIS_1_07")
  LoadAnimationGroup("NIS_1_08_1")
  LoadAnimationGroup("NIS_1_09")
  LoadAnimationGroup("NIS_1_11")
  LoadAnimationGroup("NIS_2_01")
  LoadAnimationGroup("NIS_2_03")
  LoadAnimationGroup("NIS_2_04")
  LoadAnimationGroup("NIS_2_06_1")
  LoadAnimationGroup("NIS_2_B")
  LoadAnimationGroup("NIS_2_S04")
  LoadAnimationGroup("NIS_3_01")
  LoadAnimationGroup("NIS_3_02")
  LoadAnimationGroup("NIS_3_04")
  LoadAnimationGroup("NIS_3_05")
  LoadAnimationGroup("NIS_3_06")
  LoadAnimationGroup("NIS_3_08")
  LoadAnimationGroup("NIS_3_11")
  LoadAnimationGroup("NIS_3_B")
  LoadAnimationGroup("NIS_3_G3")
  LoadAnimationGroup("NIS_3_R09_D")
  LoadAnimationGroup("NIS_3_R09_G")
  LoadAnimationGroup("NIS_3_R09_J")
  LoadAnimationGroup("NIS_3_R09_N")
  LoadAnimationGroup("NIS_3_R09_P")
  LoadAnimationGroup("NIS_3_S03")
  LoadAnimationGroup("NIS_3_S03_B")
  LoadAnimationGroup("NIS_3_S11")
  LoadAnimationGroup("NIS_4_01")
  LoadAnimationGroup("NIS_4_05")
  LoadAnimationGroup("NIS_4_06")
  LoadAnimationGroup("NIS_4_B2")
  LoadAnimationGroup("NIS_5_01")
  LoadAnimationGroup("NIS_5_02")
  LoadAnimationGroup("NIS_5_03")
  LoadAnimationGroup("NIS_5_04")
  LoadAnimationGroup("NIS_5_05")
  LoadAnimationGroup("NIS_5_07")
  LoadAnimationGroup("NIS_5_G5")
  LoadAnimationGroup("NIS_6_02")
  LoadAnimationGroup("NIS_6_03")
  LoadAnimationGroup("NLock01A")
  LoadAnimationGroup("NPC_Adult")
  LoadAnimationGroup("NPC_AggroTaunt")
  LoadAnimationGroup("NPC_Chat_1")
  LoadAnimationGroup("NPC_Chat_2")
  LoadAnimationGroup("NPC_Chat_F")
  LoadAnimationGroup("NPC_Cheering")
  LoadAnimationGroup("NPC_Love")
  LoadAnimationGroup("NPC_Mascot")
  LoadAnimationGroup("NPC_NeedsResolving")
  LoadAnimationGroup("NPC_Principal")
  LoadAnimationGroup("NPC_Shopping")
  LoadAnimationGroup("NPC_Spectator")
  LoadAnimationGroup("N_Ranged")
  LoadAnimationGroup("N_Striker")
  LoadAnimationGroup("N_Striker_A")
  LoadAnimationGroup("N_Striker_B")
  LoadAnimationGroup("ObsDoor")
  LoadAnimationGroup("OBSMotor")
  LoadAnimationGroup("ObsPtf_1")
  LoadAnimationGroup("ObsPtf_2")
  LoadAnimationGroup("Pageant")
  LoadAnimationGroup("PedCoaster")
  LoadAnimationGroup("Player_Tired")
  LoadAnimationGroup("Player_VTired")
  LoadAnimationGroup("POI_Booktease")
  LoadAnimationGroup("POI_Cafeteria")
  LoadAnimationGroup("POI_ChLead")
  LoadAnimationGroup("POI_Gen")
  LoadAnimationGroup("POI_Smoking")
  LoadAnimationGroup("POI_Telloff")
  LoadAnimationGroup("POI_WarmHands")
  LoadAnimationGroup("POI_Worker")
  LoadAnimationGroup("PortaPoo")
  LoadAnimationGroup("PrepDoor")
  LoadAnimationGroup("PunchBag")
  LoadAnimationGroup("pxHoop")
  LoadAnimationGroup("pxLad10M")
  LoadAnimationGroup("Px_Arcade")
  LoadAnimationGroup("Px_Bed")
  LoadAnimationGroup("Px_Fountain")
  LoadAnimationGroup("Px_Garb")
  LoadAnimationGroup("Px_Gen")
  LoadAnimationGroup("Px_Ladr")
  LoadAnimationGroup("Px_Rail")
  LoadAnimationGroup("Px_RedButton")
  LoadAnimationGroup("Px_Sink")
  LoadAnimationGroup("Px_Tlet")
  LoadAnimationGroup("Px_Tree")
  LoadAnimationGroup("P_Grappler")
  LoadAnimationGroup("P_Striker")
  LoadAnimationGroup("QPed")
  LoadAnimationGroup("RAT_PED")
  LoadAnimationGroup("Reeper")
  LoadAnimationGroup("RMailbox")
  LoadAnimationGroup("Russell")
  LoadAnimationGroup("Russell_PBomb")
  LoadAnimationGroup("Santa_Lap")
  LoadAnimationGroup("SAUTH_A")
  LoadAnimationGroup("SAUTH_F")
  LoadAnimationGroup("SAUTH_U")
  LoadAnimationGroup("SAUTH_X")
  LoadAnimationGroup("SBarels1")
  LoadAnimationGroup("SBULL_A")
  LoadAnimationGroup("SBULL_F")
  LoadAnimationGroup("SBULL_S")
  LoadAnimationGroup("SBULL_U")
  LoadAnimationGroup("SBULL_X")
  LoadAnimationGroup("Scaffold")
  LoadAnimationGroup("SCbanpil")
  LoadAnimationGroup("SCBell")
  LoadAnimationGroup("SCDoor")
  LoadAnimationGroup("ScGate")
  LoadAnimationGroup("SCgrdoor")
  LoadAnimationGroup("scObsDr")
  LoadAnimationGroup("ScoolBus")
  LoadAnimationGroup("SCOOTER")
  LoadAnimationGroup("SecDoorL")
  LoadAnimationGroup("SecDoorR")
  LoadAnimationGroup("Sedan")
  LoadAnimationGroup("SFAT_A")
  LoadAnimationGroup("SFAT_F")
  LoadAnimationGroup("SFAT_I")
  LoadAnimationGroup("SFAT_S")
  LoadAnimationGroup("SGEN_A")
  LoadAnimationGroup("SGEN_F")
  LoadAnimationGroup("SGEN_I")
  LoadAnimationGroup("SGEN_S")
  LoadAnimationGroup("SGIRLS")
  LoadAnimationGroup("SGIRL_A")
  LoadAnimationGroup("SGIRL_D")
  LoadAnimationGroup("SGIRL_F")
  LoadAnimationGroup("SGIRL_S")
  LoadAnimationGroup("SGTargB")
  LoadAnimationGroup("ShopBike")
  LoadAnimationGroup("SHUMIL_01")
  LoadAnimationGroup("SHWR")
  LoadAnimationGroup("SIAMESE")
  LoadAnimationGroup("Siamese2")
  LoadAnimationGroup("Sitting_Boys")
  LoadAnimationGroup("SK8Board")
  LoadAnimationGroup("Skateboard")
  LoadAnimationGroup("SkeltonMan")
  LoadAnimationGroup("Slingsh")
  LoadAnimationGroup("SNERD_A")
  LoadAnimationGroup("SNERD_F")
  LoadAnimationGroup("SNERD_I")
  LoadAnimationGroup("SNERD_S")
  LoadAnimationGroup("SNGIRLS")
  LoadAnimationGroup("SNGIRL_D")
  LoadAnimationGroup("SNGIRL_F")
  LoadAnimationGroup("SnowBlob")
  LoadAnimationGroup("SnowMND")
  LoadAnimationGroup("SnowWall")
  LoadAnimationGroup("SOLD_A")
  LoadAnimationGroup("SOLD_F")
  LoadAnimationGroup("SOLD_I")
  LoadAnimationGroup("SOLD_S")
  LoadAnimationGroup("SPLAY_A")
  LoadAnimationGroup("SPLAY_B")
  LoadAnimationGroup("SprayCan")
  LoadAnimationGroup("SpudG")
  LoadAnimationGroup("Squid")
  LoadAnimationGroup("StalDoor")
  LoadAnimationGroup("Straf_Dout")
  LoadAnimationGroup("Straf_Fat")
  LoadAnimationGroup("Straf_Female")
  LoadAnimationGroup("Straf_Male")
  LoadAnimationGroup("Straf_Nerd")
  LoadAnimationGroup("Straf_Prep")
  LoadAnimationGroup("Straf_Savage")
  LoadAnimationGroup("Straf_Wrest")
  LoadAnimationGroup("SUV")
  LoadAnimationGroup("TadGates")
  LoadAnimationGroup("TadShud")
  LoadAnimationGroup("TE_Female")
  LoadAnimationGroup("TGKFlag")
  LoadAnimationGroup("ToolBox")
  LoadAnimationGroup("TrackSW")
  LoadAnimationGroup("TreeFall")
  LoadAnimationGroup("Truck")
  LoadAnimationGroup("Try_Clothes")
  LoadAnimationGroup("TSGate")
  LoadAnimationGroup("UBO")
  LoadAnimationGroup("Umbrella")
  LoadAnimationGroup("VDMilo")
  LoadAnimationGroup("VFlytrap")
  LoadAnimationGroup("V_Bike")
  LoadAnimationGroup("V_Bike_Races")
  LoadAnimationGroup("V_COPBIKE")
  LoadAnimationGroup("V_SCOOTER")
  LoadAnimationGroup("WBalloon")
  LoadAnimationGroup("WeaponUnlock")
  LoadAnimationGroup("Ween_Fem")
  LoadAnimationGroup("WHCrane")
  LoadAnimationGroup("WheelBrl")
  LoadAnimationGroup("WPCannon")
  LoadAnimationGroup("WPSheldB")
  LoadAnimationGroup("WPShield")
  LoadAnimationGroup("WPTurret")
  LoadAnimationGroup("W_BBall")
  LoadAnimationGroup("W_BBallBat")
  LoadAnimationGroup("W_BRocket")
  LoadAnimationGroup("W_Camera")
  LoadAnimationGroup("W_CherryBomb")
  LoadAnimationGroup("W_CHShield")
  LoadAnimationGroup("W_FlashLight")
  LoadAnimationGroup("W_Fountain")
  LoadAnimationGroup("W_Itchpowder")
  LoadAnimationGroup("W_JBroom")
  LoadAnimationGroup("W_Lid")
  LoadAnimationGroup("W_PooBag")
  LoadAnimationGroup("W_PRANK")
  LoadAnimationGroup("W_Slingshot")
  LoadAnimationGroup("W_Snowball")
  LoadAnimationGroup("W_snowshwl")
  LoadAnimationGroup("W_SprayCan")
  LoadAnimationGroup("W_SpudGun")
  LoadAnimationGroup("W_Stick")
  LoadAnimationGroup("W_Thrown")
  LoadAnimationGroup("W_wtrpipe")
  LoadAnimationGroup("x_cas1")
  LoadAnimationGroup("x_cas2")
  LoadAnimationGroup("x_cas3")
  LoadAnimationGroup("x_ccane")
  LoadAnimationGroup("X_Chair")
  LoadAnimationGroup("x_cndl")
  LoadAnimationGroup("x_sleigh")
  LoadAnimationGroup("x_tedy")
  collectgarbage()
end
« Last Edit: July 27, 2015, 10:48:16 AM by UltimateGamer8 »

Offline denizthebest

  • Jr. Member
  • **
  • Posts: 85
  • Half way there.
    • View Profile
Re: Questions about local multiplayer
« Reply #1 on: July 27, 2015, 01:53:58 PM »
i didnt ecxactly understand what you need

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Questions about local multiplayer
« Reply #2 on: July 27, 2015, 03:04:35 PM »
He is asking how would he add Global/Player to the second player but don't you need a controller to work this and Player One also. You might want to use a controller and keyboard to work the local multiplayer because working two character's at once is impossible unless you have two keyboards and mouse's.

 Try searching your IP address through your computer then downloading server software you would have to know your computers bandwith and connection status then how many character's your game should hold before a simple crash. Don't know if I should be releasing this type of information lol is it illegal?

http://minegoboom.com/server/howto-zone/lan/index.html Try using this info to make your own server online.
Code: [Select]
  AreaTransitionXYZ(0,302.8304138,-71.37110138,5)
  PlayerSetHealth(PedGetMaxHealth(gPlayer))
  Player2 = PedCreateXYZ(31, 303.0464783, -73.48997498, 5)
  PedSetAITree(Player2, "/Global/PlayerAI", "Act/AI/PlayerAI.act")
  PedSwapModel(Player2, "player")
  PedSetStatsType(Player2, "STAT_PLAYER")
  PedSetControllerID(Player2,2)
  PedSetActionTree(Player2, "/Global/Player", "Act/Anim/Player.act")
  PedRecruitAlly(gPlayer, Player2)
  PedSetInfiniteSprint(Player2,true)
  PedSetFaction(Player2, 13)
  AreaTransitionXYZ(0,302.8304138+1,-71.37110138+1,5+1)
  PlayerSetHealth(PedGetMaxHealth(gPlayer))
  Player1 = PedCreateXYZ(29, 303.0464783, -73.48997498, 5)
  PedSetAITree(Player1, "/Global/PlayerAI", "Act/AI/PlayerAI.act")
  PedSwapModel(Player1, "player")
  PedSetStatsType(Player1, "STAT_PLAYER")
  PedSetControllerID(Player1,1)
  PedSetActionTree(Player1, "/Global/Player", "Act/Anim/Player.act")
  PedRecruitAlly(gPlayer, Player1)
  PedSetInfiniteSprint(Player1,true)
  PedSetFaction(Player1, 13)
Fixed* I think
« Last Edit: July 27, 2015, 03:08:18 PM by AlphaTech »

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Questions about local multiplayer
« Reply #3 on: July 27, 2015, 03:26:23 PM »
What are you going on about with servers and crap?

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Questions about local multiplayer
« Reply #4 on: July 27, 2015, 03:35:20 PM »
Idk I was thinking of someone making a local multiplayer server online would add a nice touch to the Local Muliplayer mod. What's wrong with talking about server's?  >:(

deadpoolXYZ

  • Guest
Re: Questions about local multiplayer
« Reply #5 on: July 27, 2015, 03:47:32 PM »
He was talking about 2 people in 1 computer. lmao

About OP's question, as far as I know the game was NOT designed to support full control of a ped with a second player controller. If you assign your P2 controller (either keboard+mouse or xbox 360 pad) to a ped you can only do 2 things: move and lock on.

I have been working on a local multiplayer mod for pc and ps2 versions and I can tell that I couldn't find a way to "enable" the other features such as sprint, grab, etc. The only known way is to bind every action to the player 2 controller just like I did.

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Questions about local multiplayer
« Reply #6 on: July 27, 2015, 03:54:00 PM »
Huh?  :confused:, 2 people in 1 computer ._. when did I say that I clearly stated that start a remote server and have the other player join the remote server. Read the next time please lol.  :laugh: You can only have one computer with local multiplayer right because I am sure that wasn't online gameplay.  :neen: Online Multiplayer = Two Cpu's Local Multiplayer = One Cpu plus 2 controller O_o Multiplayer Confirmed  :cc_detective:
« Last Edit: July 27, 2015, 03:55:48 PM by AlphaTech »

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Questions about local multiplayer
« Reply #7 on: July 27, 2015, 04:00:25 PM »
I'm lost xd

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Questions about local multiplayer
« Reply #8 on: July 27, 2015, 04:42:28 PM »
I'm lost to I didn't know exactly what he was talking about. :ninja:

Offline DahCobra33

  • Decepticon
  • Hero Member
  • ****
  • Posts: 3,057
  • Gender: Male
  • I don't deal with psychos,I put em' away...
    • View Profile
Re: Questions about local multiplayer
« Reply #9 on: July 27, 2015, 04:47:47 PM »
"Questions about local multiplayer "

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: Questions about local multiplayer
« Reply #10 on: July 27, 2015, 09:50:44 PM »
denizthebest what i need is the fighting style becuz without the nodes player 2 will not execute the moves

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: Questions about local multiplayer
« Reply #11 on: July 27, 2015, 09:53:25 PM »
and i have an xbox controller and a keyboard too

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: Questions about local multiplayer
« Reply #12 on: July 27, 2015, 09:54:45 PM »
He is asking how would he add Global/Player to the second player but don't you need a controller to work this and Player One also. You might want to use a controller and keyboard to work the local multiplayer because working two character's at once is impossible unless you have two keyboards and mouse's.

 Try searching your IP address through your computer then downloading server software you would have to know your computers bandwith and connection status then how many character's your game should hold before a simple crash. Don't know if I should be releasing this type of information I am laughing out loud at your hysterical statement!  is it illegal?

http://minegoboom.com/server/howto-zone/lan/index.html Try using this info to make your own server online.
Code: [Select]
  AreaTransitionXYZ(0,302.8304138,-71.37110138,5)
  PlayerSetHealth(PedGetMaxHealth(gPlayer))
  Player2 = PedCreateXYZ(31, 303.0464783, -73.48997498, 5)
  PedSetAITree(Player2, "/Global/PlayerAI", "Act/AI/PlayerAI.act")
  PedSwapModel(Player2, "player")
  PedSetStatsType(Player2, "STAT_PLAYER")
  PedSetControllerID(Player2,2)
  PedSetActionTree(Player2, "/Global/Player", "Act/Anim/Player.act")
  PedRecruitAlly(gPlayer, Player2)
  PedSetInfiniteSprint(Player2,true)
  PedSetFaction(Player2, 13)
  AreaTransitionXYZ(0,302.8304138+1,-71.37110138+1,5+1)
  PlayerSetHealth(PedGetMaxHealth(gPlayer))
  Player1 = PedCreateXYZ(29, 303.0464783, -73.48997498, 5)
  PedSetAITree(Player1, "/Global/PlayerAI", "Act/AI/PlayerAI.act")
  PedSwapModel(Player1, "player")
  PedSetStatsType(Player1, "STAT_PLAYER")
  PedSetControllerID(Player1,1)
  PedSetActionTree(Player1, "/Global/Player", "Act/Anim/Player.act")
  PedRecruitAlly(gPlayer, Player1)
  PedSetInfiniteSprint(Player1,true)
  PedSetFaction(Player1, 13)
Fixed* I think
i would like to know what does this do

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: Questions about local multiplayer
« Reply #13 on: July 27, 2015, 10:12:14 PM »
the real problem is player 1 can sprint and fight while player 2 can't do all those take a look:
« Last Edit: July 27, 2015, 10:14:29 PM by UltimateGamer8 »

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Questions about local multiplayer
« Reply #14 on: July 27, 2015, 10:28:39 PM »
You need another controller.