SA-MP Forums Archive
Check Player if he enters Pay'n'nSpray's - 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: Check Player if he enters Pay'n'nSpray's (/showthread.php?tid=159428)



Check Player if he enters Pay'n'nSpray's - [MF]FACE - 13.07.2010

I already searched a lot but didn't find anything helpful. I need a function or a callback which helps me to find out if the player is enter a pay'n'spray. A bit like the OnEnterExitModShop Callback for the tuning shops.


Re: Check Player if he enters Pay'n'nSpray's - Joe_ - 13.07.2010

Store all of the PNS positions into an array.

When you get to making the function, use IsPlayerInRangeOfPoint and experiment with ranges (should be about 5.0-10.0).


Re: Check Player if he enters Pay'n'nSpray's - [MF]FACE - 13.07.2010

hmm ok, when there is no other possibility (like a function etc) i have to check it with the areas (and a timer =( )
But ok ty