SA-MP Forums Archive
How To toggle isplayernear? - 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: How To toggle isplayernear? (/showthread.php?tid=318766)



How To toggle isplayernear? - SourceCode - 16.02.2012

What's the fasted way to call isplayernear similiar function? make a huge invisible Checkpoint(like default GTA does)? how to make it invisible? But sa-mp only supports 1 active checkpoint


Re: How To toggle isplayernear? - milanosie - 16.02.2012

IsPlayerInRangeOfPoint ??


Re: How To toggle isplayernear? - SourceCode - 16.02.2012

NO, i meant toggle a function when player enters an area,(not a 1 ms timer to check isplayerinrange) i can use onplayerenterare, but creating an area is kinda tough (u know max positionss), so creating a checkpoint would be lot easier.