• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help with race
#7
(2020-11-06, 12:23 PM)Pinch Wrote:
(2020-11-06, 11:20 AM)dwp12345 Wrote: 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

}

This is just...no...??







Which one should work?
  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: