SA-MP Forums Archive
How to make - 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: How to make (/showthread.php?tid=135456)



How to make - Torran - 20.03.2010

Hello,

When a player enters a checkpoint, The checkpoint disappears,
How would i do it so when they exit the checkpoint it comes back?


Re: How to make - ray187 - 20.03.2010

You would most likely use OnPlayerLeaveCheckpoint (https://sampwiki.blast.hk/wiki/OnPlayerLeaveCheckpoint).


Re: How to make - Nero_3D - 20.03.2010

Or you just let the checkpoint stay...


Re: How to make - Torran - 20.03.2010

Quote:
Originally Posted by ♣ Joker ♠
Or you just let the checkpoint stay...
How could i do that


Re: How to make - Nero_3D - 20.03.2010

Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by ♣ Joker ♠
Or you just let the checkpoint stay...
How could i do that
Just dont disable it at OnPlayerEnterCheckpoint


Re: How to make - Torran - 20.03.2010

And how do i make it so the Checkpoint dosent show on minimap


Re: How to make - Nero_3D - 21.03.2010

Thats not possible

And there is no reason for disabling the marker
Markers are for finding things and checkpoints want to be found


Re: How to make - Torran - 21.03.2010

Well i want this checkpoint to be in a interior,
So they wont be able to find it if they tried.
Its for a list of jobs at city hall


Re: How to make - Nero_3D - 21.03.2010

Quote:
Originally Posted by Joe Torran C
Well i want this checkpoint to be in a interior,
So they wont be able to find it if they tried.
Its for a list of jobs at city hall
if its in a interior use OnPlayerInteriorChange
then just set the checkpoint if he enters the right interiorid and maybe an area check for the right interior
and set it, remove it if they leave the interior and go to normal world (interiorid 0)