DisablePlayerCheckpoint in a loop
#4

Quote:
Originally Posted by SpiderPork
You haven't used any parameters in the function:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
  DisablePlayerCheckpoint(i);
}
try this:

for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
DisablePlayerCheckpoint(i);
}
}
Reply


Messages In This Thread
DisablePlayerCheckpoint in a loop - by Striker_Moe - 30.09.2009, 15:27
Re: DisablePlayerCheckpoint in a loop - by dice7 - 30.09.2009, 16:03
Re: DisablePlayerCheckpoint in a loop - by SpiderPork - 30.09.2009, 16:09
Re: DisablePlayerCheckpoint in a loop - by curtisshakur - 30.09.2009, 19:12
Re: DisablePlayerCheckpoint in a loop - by curtisshakur - 30.09.2009, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)