Action for all players.
#2

Use a loop that goes through all players
pawn Code:
for( new i = 0; i < MAX_PLAYERS; i++ ) // Loop through all players
{
   if( !IsPlayerConnected( i ) ) continue; // They're not connected, goto the next player slot (iteration)
   SetPlayerRaceCheckpoint( i, ... ); // Set the checkpoint
}
Reply


Messages In This Thread
Action for all players. - by Superthijs - 28.08.2011, 08:54
Re: Action for all players. - by Bakr - 28.08.2011, 08:55
Re: Action for all players. - by =WoR=Varth - 28.08.2011, 08:58

Forum Jump:


Users browsing this thread: 1 Guest(s)