SA-MP Forums Archive
'Revolving light' on a vehicle. - 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: 'Revolving light' on a vehicle. (/showthread.php?tid=605023)



'Revolving light' on a vehicle. - Dayrion - 13.04.2016

Hey, i'm learning pawn and i have a problem.
I want to make a command which adds a revolving light (Object ID: 18646) on a vehicle.
I tried to do it, but sometimes the object doesn't be created and he isn't attached to the vehicle.
I don't understand where is my mistake.
There is the code : PASTEBIN
Apologize for my english. I'm still learning too.



Re: 'Revolving light' on a vehicle. - Dayrion - 14.04.2016

BUMP! I really need help :/


Re: 'Revolving light' on a vehicle. - Dayrion - 15.04.2016

BUMP again!


Re: 'Revolving light' on a vehicle. - Godey - 15.04.2016

Try searching old topics,
well that object doesn't appear sometimes even for me :P

....https://sampforum.blast.hk/showthread.php?tid=534862


Re: 'Revolving light' on a vehicle. - Vince - 15.04.2016

Coordinates for AttachObjectToVehicle are relative to the vehicle, not absolute to the world.