SA-MP Forums Archive
AttachObjectToVehicle with EditObject - 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: AttachObjectToVehicle with EditObject (/showthread.php?tid=364291)



AttachObjectToVehicle with EditObject - Killer#Mummy - 30.07.2012

Is it possible to use AttachObjectToVehicle with EditObject command? I tried to do it, but the problem is, that EditObject return new position instead of offset. Maybe it could be done with distance and angle calculations, but I am not that good at maths . Any ideas how to do it?