Siren on unmarked cop cars
#1

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?
Reply
#2

Create an object and attach it to the vehicle. Also use 'addsiren' param in CreateVehicle.
Reply
#3

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.
Reply
#4

Could add/remove the lights under here
https://sampwiki.blast.hk/wiki/OnVehicleSirenStateChange
Reply
#5

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); 
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)