Siren on unmarked cop cars - 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: Siren on unmarked cop cars (
/showthread.php?tid=611091)
Siren on unmarked cop cars -
KevinKush - 02.07.2016
I have tried to search over the forums but i couldn't find any codes that can help with to create normal vehicles with sirens. Can anyone help me and give me anything that can help?
Re: Siren on unmarked cop cars -
xJayce - 02.07.2016
Create an object and attach it to the vehicle. Also use 'addsiren' param in CreateVehicle.
Re: Siren on unmarked cop cars -
Onfroi - 02.07.2016
The
CreateVehicle function has a new parameter that lets you add a siren to any car that uses a horn. If you mean the flashing lights, you'll have to be a little bit creative but there are blue and red flashing light objects you can use.
Re: Siren on unmarked cop cars -
itsCody - 02.07.2016
Could add/remove the lights under here
https://sampwiki.blast.hk/wiki/OnVehicleSirenStateChange
Re: Siren on unmarked cop cars -
KevinKush - 03.07.2016
Quote:
Originally Posted by Onfroi
The CreateVehicle function has a new parameter that lets you add a siren to any car that uses a horn. If you mean the flashing lights, you'll have to be a little bit creative but there are blue and red flashing light objects you can use.
|
Yes i need the siren that uses the horn i know how to add objects, i tried using CreateVehicle and added the siren param and it says "
number of arguments does not match definition"
This is the code that i used:
PHP код:
CreateVehicle(560,1699.205322,1435.092895,10.437866,180,-1,-1,2000,1);