How to get if there is any vehicle near you - 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: How to get if there is any vehicle near you (
/showthread.php?tid=196329)
How to get if there is any vehicle near you -
ajwar - 05.12.2010
I am working on Fuel system and when i Fill-Up Fuel i need to take a pickup. How to check if there are any car around me or around the pickup?
Re: How to get if there is any vehicle near you -
fangoth1 - 05.12.2010
IsPlayerInRangeOfPoint might do the trick
pawn Код:
IsPlayerInRangeOfPoint(playerid, 30, X, Y, Z);