2020-11-06, 07:38 PM
(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?