DisablePlayerCheckpoint
#1

I know Command DisablePlayerCheckpoint, but then it disable checkpoint only for one player, what is cmd to disable for all players?
Reply
#2

pawn Код:
for(new i=0;i<MAX_PLAYERS;i++)
{
    if(IsPlayerConnected(i)) DisablePlayerCheckPoint(i);
}
I would suggest using foreach anyway:
pawn Код:
foreach(Player,i)
{
    DisablePlayerCheckPoint(i);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)