NotAvailable Posted July 8, 2010 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
TheRealCow Posted July 8, 2010 Posted July 8, 2010 no it wasnt fail, but u need for that script that "baam" sound too.. Server Name: mR|Team Clan Race Server Server IP: 84.82.81.225:22004
NotAvailable Posted July 8, 2010 Author 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
dzek (varez) Posted July 8, 2010 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? Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
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