NotAvailable Posted July 8, 2010 Share Posted July 8, 2010 Hi, Im trying to make my first script ( I stopped with making HP shop Was to hard ) And now im trying to make something easier. So im trying to make something like: You shoot a weapon and you hear a explosion sound, Like in "The Ballad of Gay Tony" the AA12 sound. So when you shoot an AK-47 you hear that sound like: Baam. Just make a LITTLE start for me NOT to hard Please! Then ill do the rest so i can learn how to script. PS. My HP shop was/is a FAIL Link to comment
TheRealCow Posted July 8, 2010 Share Posted July 8, 2010 no it wasnt fail, but u need for that script that "baam" sound too.. Link to comment
NotAvailable Posted July 8, 2010 Author Share Posted July 8, 2010 no it wasnt fail, but u need for that script that "baam" sound too.. i know something like: PlaySoundFrontEnd ( "baam.wav" , True) Something like that Link to comment
dzek (varez) Posted July 8, 2010 Share Posted July 8, 2010 something like bad answer. good answer: I opened MTA WIKI. Then i looked into Client side functions, checked Audio functions and found 3 functions that could help me: playSoundFrontEnd playSound playSound3D after i read all descriptions i know that playSoundFrontEnd isn't what i need, but i can use playSound to play fire sound, but it would be better to place the sound in san andreas world, so anybody can hear me shooting with different sound, so i choosed playSound3D Should i finish this little tutorial of thinking by yourself? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now