Spawning all players at once?
#2

Simply use a loop to go through all of your players and spawn them using SpawnPlayer(); like so:

pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
  if(IsPlayerConnected(i))
  {
    SpawnPlayer(i);
  }
}
GameTextForAll("Round has ended..",5000,3);
However I recommend using foreach instead of a loop, this is only an example
Reply


Messages In This Thread
Spawning all players at once? - by (.Aztec); - 23.08.2009, 02:27
Re: Spawning all players at once? - by JaTochNietDan - 23.08.2009, 02:41
Re: Spawning all players at once? - by (.Aztec); - 23.08.2009, 02:49

Forum Jump:


Users browsing this thread: 1 Guest(s)