Police help
#1

I was playing on an server cnr one and when I was a cop if I was in any vehicle and press H it turn one police siren sound how can I do that? I mean by an player sound or anything how can I do that?
Reply
#2

are you trying to say how to hear your siren sound?

Just Try if the server had commands like.. /siren if there not /siren just Press H - Capslock automacily you hear a sound.
Reply
#3

Explain more...

Did you meant that you heard a new siren sound, different than the default?
Reply
#4

https://sampwiki.blast.hk/wiki/CreateVehicle

Код:
(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay, addsiren=0)
Set the addsiren parameter to 1 for the vehicle you want to have siren.
Reply
#5

well that what I'm looking for but one problem
in my script I got /siren command to add an siren to the vehicle so how ill will create the vehicle with siren if it is already created I mean can I set vehicle siren without deleting and creating back
Reply
#6

You have to set that parameter the moment you create that vehicle. It activates as if it were a cop car (by hitting the 'H' key). There's no need for a command.

However if what you want is to add and remove the siren of the vehicle the times you want, yeah, I think you must delete and create the vehicle again.
Reply
#7

mm okay thanks for help and my /siren command add the siren object to the car so that I wanted it to be realistic
Reply
#8

https://sampwiki.blast.hk/wiki/OnVehicleSirenStateChange

Script it to add the object when the siren goes on.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)