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



AttachObjectToVehicle? - TroyBoy - 28.11.2010

how do i how i AttachObjectToVehicle? help me please


Respuesta: AttachObjectToVehicle? - TheChaoz - 28.11.2010

1є create the object, and get the handle of the object on a variable
2є create a vehicle ans save it's handle in an other variable
3є AttachObjectToVehicle(variable1, variable2, , 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);

Note: variable1 = handle of the object. variable2 = handle of the car. the 0.0 are the offset and rot, play with them.


Re: AttachObjectToVehicle? - DiDok - 28.11.2010

Streamed objects doesn't work with this?


Respuesta: AttachObjectToVehicle? - TheChaoz - 28.11.2010

i guess yes. but dno


Re: AttachObjectToVehicle? - Rafa - 28.11.2010

hmm under what need to stay this: "AttachObjectToVehicle"
please fast answer cause i need it.. :/
Thanks


Re: AttachObjectToVehicle? - Haydz - 28.11.2010

Quote:
Originally Posted by Rafa
Посмотреть сообщение
hmm under what need to stay this: "AttachObjectToVehicle"
please fast answer cause i need it.. :/
Thanks
Be patient and maybe somebody will help