18.01.2019, 14:33
PHP код:
public OnPlayerSpawn(playerid) {
SetPlayerCheckpoint(playerid, 575.3373, 856.0883, -42.7390, 3.0);
return 1;
}
public OnPlayerEnterCheckpoint(playerid) {
if(IsPlayerInRangeOfPoint(playerid, 3.0, 575.3373, 856.0883, -42.7390)) {
GivePlayerMoney(playerid, 2000);
DisablePlayerCheckpoint(playerid);
}
return 1;
}