27.11.2010, 09:57
You have to use arrays.
At top:
At top:
pawn Код:
new Checkpoint[MAX_PLAYERS];
pawn Код:
SetPlayerCheckPoint(stuff);
Checkpoint[playerid] = 1;
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(Checkpoint[playerid] == 1)
{
// stuff
PlayerInfo[playerid][Checkpoint] = 0;
}
return 1;
}