OnPlayerEnterCheckpoint

Ovaj callback se poziva kada igrac pristupi vec odredjenom odredistu.

Parametri
(playerid)


 * playerid - ID igraca koji pristupa odredistu


 * Return - Ovaj callback ne zahteva return

Primer
public OnPlayerSpawn(playerid) //pri spawnu namestamo odrediste {   SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0); return 1; } public OnPlayerEnterCheckpoint(playerid) {   CreateVehicle(520, 1982.6150, -221.0145, -0.2432, 82.2873, -1, -1, 60000); //kada dodje na odrediste marker se brise i igrac dobija vozilo. DisablePlayerCheckpoint(playerid); return 1; }