Police siren sound
#1

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

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

Add a 1 by the last parameter.
Reply
#3

Thanks, bro!
Reply
#4

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

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

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

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).
Reply
#8

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
Reply
#9

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


Forum Jump:


Users browsing this thread: 3 Guest(s)