CheckPoint - 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: CheckPoint (
/showthread.php?tid=57090)
CheckPoint -
Tomek5217 - 04.12.2008
How to make checkpoint of menu? plz help
Re : CheckPoint -
rbcrp - 07.01.2012
You want it to open a menu when someone enter's a checkpoint?
Re: Re : CheckPoint -
KeeDee - 07.01.2012
Quote:
Originally Posted by rbcrp
You want it to open a menu when someone enter's a checkpoint?
|
Yes, i think he means that btw i need that too lol explain please :O
Re: CheckPoint -
Outcast - 07.01.2012
Make a global variable named "checkpoint1"
When you create your checkpoint, do it like this: checkpoint1 = CreateCheck....
And under OnPlayerEnterCheckpoint (or something like this)
make a check if checkpointid = checkpoint1
and in the if statement place ShowPlayerDialog...
Wiki all those stuff, it's easy.
Re : CheckPoint -
rbcrp - 08.01.2012
Yes, what ^he said, just make a checkpoint variable and onplayerentercheckpoint use ShowPlayerDialog and there you go. and then OnPlayerExitCheckpoint you can disable the checkpoint if you like as well.