SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/01/2017, 10:06 PM   #1
Oficer
Big Clucker
 
Join Date: Sep 2015
Posts: 91
Reputation: 0
Default Police siren sound

Hey, how add Police siren (sound) to normal vehicle?
YOUTUBE
Oficer is offline   Reply With Quote
Old 02/01/2017, 10:09 PM   #2
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 542
Reputation: 73
Default Re: Police siren sound

https://wiki.sa-mp.com/wiki/CreateVehicle

Add a 1 by the last parameter.
ISmokezU is offline   Reply With Quote
Old 02/01/2017, 10:28 PM   #3
Oficer
Big Clucker
 
Join Date: Sep 2015
Posts: 91
Reputation: 0
Default Re: Police siren sound

Thanks, bro!
Oficer is offline   Reply With Quote
Old 02/01/2017, 10:45 PM   #4
OsmanMalagic
Little Clucker
 
Join Date: Jul 2016
Location: EX-YU
Posts: 34
Reputation: 51
Default Re: Police siren sound

Quote:
Originally Posted by ISmokezU View Post
https://wiki.sa-mp.com/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.
OsmanMalagic is offline   Reply With Quote
Old 02/01/2017, 10:51 PM   #5
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 542
Reputation: 73
Default Re: Police siren sound

It does work,i've literally test it with both CreateVehicle / https://wiki.sa-mp.com/wiki/AddStaticVehicleEx and it they both work make sure you at least press the horn 2-4 times.
ISmokezU is offline   Reply With Quote
Old 02/01/2017, 11:24 PM   #6
OsmanMalagic
Little Clucker
 
Join Date: Jul 2016
Location: EX-YU
Posts: 34
Reputation: 51
Default Re: Police siren sound

Quote:
Originally Posted by ISmokezU View Post
It does work,i've literally test it with both CreateVehicle / https://wiki.sa-mp.com/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.
OsmanMalagic is offline   Reply With Quote
Old 02/01/2017, 11:26 PM   #7
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 542
Reputation: 73
Default Re: Police siren sound

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

Check this out (http://forum.sa-mp.com/showthread.php?t=480748).
ISmokezU is offline   Reply With Quote
Old 02/01/2017, 11:35 PM   #8
OsmanMalagic
Little Clucker
 
Join Date: Jul 2016
Location: EX-YU
Posts: 34
Reputation: 51
Default Re: Police siren sound

Quote:
Originally Posted by ISmokezU View Post
What are you trying to do spawn a car or make a siren attach to the car?

Check this out (http://forum.sa-mp.com/showthread.php?t=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
OsmanMalagic is offline   Reply With Quote
Old 03/01/2017, 12:07 AM   #9
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 542
Reputation: 73
Default Re: Police siren sound

Try placing CreateVehicle(...); Under Gamemodeint/filterscriptint. it's working fine for me.
ISmokezU is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ambulance Siren Sound for the new siren update dionisak0s Scripting Help 13 23/04/2015 06:46 PM
Police siren sound jessejanssen Scripting Help 2 12/05/2014 11:47 PM
Police Siren Sound ID Bani Raheja Scripting Help 1 31/05/2012 11:37 AM
Police Siren Sound ID Bani Raheja Scripting Help 0 30/05/2012 03:27 PM


All times are GMT. The time now is 04:36 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.