SA-MP Forums Archive
Is there any function for what I need? - 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: Is there any function for what I need? (/showthread.php?tid=140628)



Is there any function for what I need? - sobolanux - 09.04.2010

Okay guys, I have seached on Sa-Mp Wiki and I haven`t found anything for what I need. Currently, I`m scripting a Garbage Truck Driver job and I need a function to check whether there is any Checkpoint active for the player who is doing the job. Something like IsPlayerInCheckpoint. So, any suggestions?

PS: I`m kinda newb to scripting xD


Re: Is there any function for what I need? - Nero_3D - 09.04.2010

Quote:
Originally Posted by Mark.W
Something like IsPlayerInCheckpoint.
The function IsPlayerInCheckpoint exists, it checks if the player is in a checkpoint

if you want a function like GetCurrentCheckpoint, you need to script it by yourself


Re: Is there any function for what I need? - thiaZ_ - 09.04.2010

Use Double-O-Checkpoint if you want to get more than 1 checkpoint, just search for it, I am using it too.


Re: Is there any function for what I need? - sobolanux - 09.04.2010

Thanks!