Siren Roof Offsets - 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: Siren Roof Offsets (
/showthread.php?tid=533462)
Siren Roof Offsets -
hiok - 24.08.2014
I want to attach the objectID 18646 to the roof of my vehicles.
Is there already a list with offsets to attach this siren to all vehicle models?
Object:
Re: Siren Roof Offsets -
zT KiNgKoNg - 24.08.2014
****** something like 'Vehicle Attachment Editor' - Before posting research helps
Re: Siren Roof Offsets -
hiok - 24.08.2014
Read the post properly before replying numbnuts.
I'm clearly asking if what I need is already out there and not how I can do it.
Re: Siren Roof Offsets -
Mauzen - 25.08.2014
Not sure if this works well, but you could use the height of vehicles obtained from GetVehicleModelInfo. You might have to subtract the position of the wheels and their radius, as the vehicle position isnt all on the ground.