26.06.2013, 10:19
Hi, doing some checkpoints but how to add 2nd (new) checkpoint here?
What i need to do? second i want like this
Tell/show me pls!
Код:
public OnPlayerEnterCheckpoint(playerid) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,COLOR_ORANGE,"Drive back to docks!"); SetPlayerCheckpoint(playerid,2462.9810,-2097.6760,13.5469, 5.0); return 1; }
Код:
DisablePlayerCheckpoint(playerid); GivePlayerMoney(playerid,1000); SendClientMessage(playerid,COLOR_ORANGE,"You have finished delivery!"); DestroyVehicle(GetPlayerVehicleID(playerid));