• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help with race
#5
if(RaceStarted == true)

{

? ? ? ? ?for(new i = 0 i < MAX_PLAYERS; i )

? ? ? ? ?{

? ? ? ? ? ? ? ? If(IsPlayerConnected(i) && PlayerOnRace[playerid] == true)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? ? ? ? ?new rand =?Random(i);

? ? ? ? ? ? ? ? ? ? ? ? ? ?TogglePlayerSpectating(playerid,1);? ?


? ? ? ? ? ? ? ? ? ? ? ? ? ?PlayerSpectatePlayer(playerid,rand);



? ? ? ? ? ? ? ? }

? ? ? ? ?}

}

else if(RaceStarted == false)

{

// enter race code

}
  Reply


Messages In This Thread
Help with race - by FeNiixX - 2020-11-05, 07:30 AM
RE: Help with race - by dwp12345 - 2020-11-06, 05:08 AM
RE: Help with race - by FeNiixX - 2020-11-06, 06:37 AM
RE: Help with race - by Pinch - 2020-11-06, 11:04 AM
RE: Help with race - by dwp12345 - 2020-11-06, 11:20 AM
RE: Help with race - by Pinch - 2020-11-06, 12:23 PM
RE: Help with race - by FeNiixX - 2020-11-06, 07:38 PM
RE: Help with race - by Pinch - 2020-11-06, 07:48 PM
RE: Help with race - by FeNiixX - 2020-11-06, 08:32 PM

Forum Jump: