SA-MP Forums Archive
AttachObjectToVehicle 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: AttachObjectToVehicle coordinates! (/showthread.php?tid=204853)



AttachObjectToVehicle coordinates! - Osviux - 30.12.2010

Could someone give the coordinates of the both front lights of a vehicle, please? I want to attach neons.


Re: AttachObjectToVehicle coordinates! - Mauzen - 30.12.2010

They differ from model to model. If you just need them for a single model, just test it, will be something around x_offset=1.0/-1.0, y_offset=2.0, z_offset=0
If you need them for all models, have fun testing them for all (which is not impossible, but takes some hours)