SA-MP Forums Archive
[HELP] Get vehicle's trunk coordinates - 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: [HELP] Get vehicle's trunk coordinates (/showthread.php?tid=536118)



[HELP] Get vehicle's trunk coordinates - E_Meec - 07.09.2014

There is a method to get the coordinates inside a vehicle trunk? I need this for place an object (like weapon, box etc) inside of it.


Re: [HELP] Get vehicle's trunk coordinates - Vince - 07.09.2014

No. I think the closest you can get (without manually defining each of the 212 vehicles) is to use a combination of the data you can get from GetVehicleModelInfo. Position of the rear wheels, combined with the height of the rear bumper should give you a decent starting position for a generic car.