29.04.2014, 14:35
Esse CPS_AddCheckpoint й de alguma biblioteca de seu gamemode, essa funзгo nгo й padrгo do SA-MP.
https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
pawn Code:
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;
}