[Help]Attaching an Object to a truck... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [Help]Attaching an Object to a truck... (
/showthread.php?tid=200868)
[Help]Attaching an Object to a truck... -
Dex007HLH - 19.12.2010
Sup' Guys , i have a question.
look i want to attach an object to a truck like in this image but i dont know how.
AttachObjecttoVehicle is easy but i dunno how to take the cords :S...
Who can help me? look here i have the cords and stuff.
Truck:
MODEL: 578
X: 1548.4509277344
Y: -1610.1976318359
Z: 14.1328125
Object:
MODEL: 3572
X: 1546.7492675781
Y: -1610.1632080078
Z: 15.233882904053
Okay who can help me , what i have to do?
Thanks - Wosy
Re: [Help]Attaching an Object to a truck... -
Rachael - 19.12.2010
The first three parameters are x, y, and z offset, the next three are rotation angles
Try AttachObjectToVehicle(vehicleid,0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
and then adjust the values slightly until the object appears where you want it to appear.