Checkpoints! - 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: Checkpoints! (
/showthread.php?tid=475937)
Checkpoints! -
KlooP - 15.11.2013
Hey, so I have one problem. I'm trying to make driving test checkpoints. So I made that when you enter the vehicle you see the first checkpoint, but when you enter the enter checkpoint, second not creates.
My code:
http://pastebin.com/5YEm7hiQ
Re: Checkpoints! -
Loot - 15.11.2013
Why do you disable the checkpoint manually while you have a callback/dynamic plugin callback for that?
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
DisablePlayerCheckpoint(playerid);
return 1;
}
Re: Checkpoints! -
KlooP - 15.11.2013
Quote:
Originally Posted by Loot
Why do you disable the checkpoint manually while you have a callback/dynamic plugin callback for that?
pawn Код:
public OnPlayerEnterCheckpoint(playerid) { DisablePlayerCheckpoint(playerid); return 1; }
|
Thanks for tip, but it's still not working.