IsPlayerInRangeOfPoint - 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: IsPlayerInRangeOfPoint (
/showthread.php?tid=231660)
IsPlayerInRangeOfPoint -
Rokzlive - 26.02.2011
I want to make it so i can load points from a mysql db, and not have to do IsPlayerInRangeOfPoint for each one.What i want to do is make it so i can put all the locations of a atm (mysql db table at, columns range, x, y, z) to make it so if im near any of my entered points it loads a dialog which is my atm? And just with one call back?
Re: IsPlayerInRangeOfPoint -
Rokzlive - 26.02.2011
Plz help guys. :S
Re: IsPlayerInRangeOfPoint -
Finn - 26.02.2011
I didn't fully understand what you meant, but I suggest creating a pickup for each ATM, then using
OnPlayerPickUpPickup-callback to show the dialogs.
Another way could be using checkpoints, but you'd need a streamer for that.