SA-MP Forums Archive
Only when your near it... - 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: Only when your near it... (/showthread.php?tid=369916)



Only when your near it... - LukeTheMajor - 18.08.2012

Hi there,

Just wondering how I would make it so lets say

we have a gate, and your no where near tht gate and you type /opengate

and then it opens.

but I want it so you have to be next to it or near it, How would i go about doing this


Thanks


Re: Only when your near it... - Rudy_ - 18.08.2012

Search in ******
SA-MP IsPlayerInRangeOfPoint