Position Check - 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: Position Check (
/showthread.php?tid=663884)
Position Check -
veoper - 13.02.2019
Hi, I'm coding an RC vehicle system for my server. I'm buying an RC tool to the player, but I want to make an example if I'm giving the sample after the purchase of the RC vehicle 100 meters away from the point that I have determined the tool will perform the blasting process. Can't find a function or resource that I can control, can you help?
me received help from translation: '(
Re: Position Check -
veoper - 14.02.2019
Can you help me ?
Re: Position Check -
Kaliber - 14.02.2019
There is a function for that:
https://sampwiki.blast.hk/wiki/GetPlayerDistanceFromPoint
Just start a timer and check it