AttachObjectToVehicle and SetObjectRot? - 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 and SetObjectRot? (
/showthread.php?tid=210714)
AttachObjectToVehicle and SetObjectRot? -
Fj0rtizFredde - 13.01.2011
Hi
I need some help with rotating an object that I have attached to my vehicle. So this is how I did it: I attached the object and then I set a timer that will update the rotation every 2sec.. The problem is that it dont work
It works if I set the object position and then rotate it etc.. But not when I attach it to my vehicle. Anyone that had/have this problem and could help me with it?
Re: AttachObjectToVehicle and SetObjectRot? -
armyoftwo - 13.01.2011
I have the same problem if i understood your problem right!
https://sampforum.blast.hk/showthread.php?tid=200035
Re: AttachObjectToVehicle and SetObjectRot? -
Fj0rtizFredde - 13.01.2011
Yeah that is pretty much the same problem
Did you fix it in anyway?
Re: AttachObjectToVehicle and SetObjectRot? -
armyoftwo - 13.01.2011
Quote:
Originally Posted by Fj0rtizFredde
Yeah that is pretty much the same problem Did you fix it in anyway?
|
Nope, i struggled for hours. If you find a way to fix it, please share
Re: AttachObjectToVehicle and SetObjectRot? -
Fj0rtizFredde - 13.01.2011
Yeah if I found out a way
I really hope someone know's how fix this
Re: AttachObjectToVehicle and SetObjectRot? -
armyoftwo - 13.01.2011
You might want to edit the posted code on this topic to your needs
https://sampforum.blast.hk/showthread.php?tid=209102
Re: AttachObjectToVehicle and SetObjectRot? -
Fj0rtizFredde - 14.01.2011
That did not help me very much :/ if I do like in the topic (set the object position and rotate it) it will work.. Its just when I attach it to my vehicle it wont work :/
Re: AttachObjectToVehicle and SetObjectRot? -
Fj0rtizFredde - 14.01.2011
Bump (12 hours)