2020-11-06, 12:23 PM
(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...??
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.