SA-MP Forums Archive
Closest Vehicle - 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: Closest Vehicle (/showthread.php?tid=350401)



Closest Vehicle - Jo0ker - 12.06.2012

I need help with stock, I need stock which would find closest vehicle and his ID, I need that for my command,
where I use iVehicleID like this:
Код:
iVehicleID = GetClosestVehicle();
iVehicleID must be a ID of nearest CAR.
Can someone help me ?


Re: Closest Vehicle - Jo0ker - 12.06.2012

Never mind, I have found this