12.09.2011, 13:02
Basic, I don't see any difference from:
pawn Code:
new playerSetGps[MAX_PLAYERS];
SetPlayerCheckpoint(playerid, X, Y, Z, Size);
playerSetGps[playerid]=1;
public OnPlayerEnterCheckpoint(playerid)
{
if(playerSetGps[playerid])
{
playerSetGps[playerid]=0;
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, -1, "You have reached your destination!");
return 1;
}
}