SA-MP Forums Archive
Police siren sound - 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: Police siren sound (/showthread.php?tid=625521)



Police siren sound - Oficer - 02.01.2017

Hey, how add Police siren (sound) to normal vehicle?
*******


Re: Police siren sound - ISmokezU - 02.01.2017

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

Add a 1 by the last parameter.


Re: Police siren sound - Oficer - 02.01.2017

Thanks, bro!


Re: Police siren sound - OsmanMalagic - 02.01.2017

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/CreateVehicle

Add a 1 by the last parameter.
I read what you wrote, the last parameter has no function in the game, I do not know why, probably Kalcor not well tested..
I've tested this in several ways, but does not work.


Re: Police siren sound - ISmokezU - 02.01.2017

It does work,i've literally test it with both CreateVehicle / https://sampwiki.blast.hk/wiki/AddStaticVehicleEx and it they both work make sure you at least press the horn 2-4 times.


Re: Police siren sound - OsmanMalagic - 02.01.2017

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
It does work,i've literally test it with both CreateVehicle / https://sampwiki.blast.hk/wiki/AddStaticVehicleEx and it they both work make sure you at least press the horn 2-4 times.
I tested again now, and not working.

Here is my code:
http://pastebin.com/Nt92zrjx

There's nothing wrong with him.
And also Include files are upgraded to the new version.


Re: Police siren sound - ISmokezU - 02.01.2017

What are you trying to do spawn a car or make a siren attach to the car?

Check this out (https://sampforum.blast.hk/showthread.php?tid=480748).


Re: Police siren sound - OsmanMalagic - 02.01.2017

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
What are you trying to do spawn a car or make a siren attach to the car?

Check this out (https://sampforum.blast.hk/showthread.php?tid=480748).
The topic name is "Police siren sound" and i don't want attach anything, i only want sound.
You sent an example of how to set up the sound of the vehicle using the last parameter, and i send you my code with that parameter.
I have made but not working


Re: Police siren sound - ISmokezU - 03.01.2017

Try placing CreateVehicle(...); Under Gamemodeint/filterscriptint. it's working fine for me.