Need help with disabling WayPoints - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with disabling WayPoints (
/showthread.php?tid=596216)
Need help with disabling WayPoints -
feartonyb - 14.12.2015
Any function handles disabling WayPoints?
Re: Need help with disabling WayPoints -
TwinkiDaBoss - 14.12.2015
Well you could always make one but there arent any at the moment. You could make something like this
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
OnCheckpointDisabled(playerid);
DisablePlayerCheckpoint(playerid);
return 1;
}
stock OnCheckpointDisabled(playerid) {
GivePlayerMoney(playerid,1000);
return true;
}