'Revolving light' on a vehicle.

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.

BUMP! I really need help :/

BUMP again!

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


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

Forum Jump:

Users browsing this thread: 1 Guest(s)