28.08.2012, 15:41
hello guys , a small question about this code (Taken directly from samp wiki )
When the checkpoint is disabled , it will stay disabled until the player relog?
or if the player moved it will appear again?
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
GivePlayerMoney(playerid, 1000);
DisablePlayerCheckpoint(playerid);
return 1;
}
or if the player moved it will appear again?