22.01.2011, 11:40
Never say 'impossible', because everything is possible, even if you don't know how to do it.
I'm sure the SA-MP developers will script what you suggested in the next versions, but for nowadays you can try using the Audio Plugin as it has been already said. You will need to play the needed sound only for the people who are inside of your vehicle.
Try using a timer whitch detects if the player is close enought to you(in order to make the people whitch close enough to your car but are not inside of it hear it with a low volume level), or the player inside of your vehicle. If so - play the sound for them.
I'm alreadyw working on something similar to that, hope you will take some of my advises if you would like to script it in yourself.
I'm sure the SA-MP developers will script what you suggested in the next versions, but for nowadays you can try using the Audio Plugin as it has been already said. You will need to play the needed sound only for the people who are inside of your vehicle.
Try using a timer whitch detects if the player is close enought to you(in order to make the people whitch close enough to your car but are not inside of it hear it with a low volume level), or the player inside of your vehicle. If so - play the sound for them.
I'm alreadyw working on something similar to that, hope you will take some of my advises if you would like to script it in yourself.