SA-MP Forums Archive
Towtruck's flashing light - 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: Towtruck's flashing light (/showthread.php?tid=450115)



Towtruck's flashing light - kristo - 11.07.2013

Does somebody know the object ID and the coordinates for it? Thanks.


Re: Towtruck's flashing light - kristo - 13.07.2013

Bump...


Respuesta: Towtruck's flashing light - PHudson - 13.07.2013

Use this:

pawn Код:
AttachObjectToVehicle(CreateObject(19419,0,0,0,0,0,0),vehicleid,0.053840,-0.526367,1.433271,0,0,0); // Sirens on
AttachObjectToVehicle(CreateObject(19420,0,0,0,0,0,0),vehicleid,0.053840,-0.526367,1.433271,0,0,0); // Sirens off