CheckPoints vanishing after using once - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CheckPoints vanishing after using once (
/showthread.php?tid=83804)
CheckPoints vanishing after using once -
Kayla.S - 27.06.2009
Hi.
My checkpoints were fine. I have one set outside a building. I walk into it and it sends me to an interior. So when I walk into the interior checkpoint it takes me back outside which is what I want. However the checkpoint disappears after one use. Only way to get it back is if i die. Need help in getting it to stay at all times. I've searched the forums but couldn't find anything. Heres my code.
http://pastebin.com/m198e54f5
Any help would be appreciated thanks.
<3
Re: CheckPoints vanishing after using once -
ducati09 - 27.06.2009
I have the exact same problem and I'm looking for a way to fix it too.
Re: CheckPoints vanishing after using once -
sidhu123 - 27.06.2009
I think this MAY be the problem: Under OnPlayerEnterCheckpoint, you may have DisablePlayerCheckpoint.
The outcome of this would be: When you enter the checkpoint once, it goes away..
Re: CheckPoints vanishing after using once -
Kayla.S - 27.06.2009
Thanks but that isnt problem. I didn't have that function. I even tried adding it but of course nothing.

I also forgot to mention another problem I'm having is when Im in a car and go over the CP I still get sent into the interior. I would much prefer having to be on foot for the CP to work. If anyone can help would be great.
Re: CheckPoints vanishing after using once -
FUNExtreme - 27.06.2009
Make sure that your checkpoints aint race checkpoints because those dissapear after being entered.
For your next question use
IsPlayerInAnyVehicle (Clicky) under OnPlayerEnterCheckpoint
Re: CheckPoints vanishing after using once -
AiVAMAN - 27.06.2009
I am using CPS, and checkpoints wont appear at all...

any suggestions?
Re: CheckPoints vanishing after using once -
ducati09 - 28.06.2009
Quote:
Originally Posted by FUNExtreme
Make sure that your checkpoints aint race checkpoints because those dissapear after being entered.
For your next question use IsPlayerInAnyVehicle (Clicky) under OnPlayerEnterCheckpoint
|
Added this and still not working, what are we all doing wrong? I tried searching and still can't get an answer.
Edit:I did everything in this post, everything on this link.
https://sampwiki.blast.hk/wiki/CPS
And still I cannot get the checkpoint to re-create after it's been entered but it will once I /kill.
HELP PLEASE!!!!