IIIIlllllIII Posted October 2, 2011 Share Posted October 2, 2011 hi since 3 days im trying to make this script work but all my trys not works and i wanna make when you buy weapon like grande hear the sound see the code firs this client said ========================================== function onClientPlayerWeaponFire ( weapon ) if weapon == 16 then playSound ( "m.mp3", false ) end end addEventHandler ( "onClientPlayerWeaponFire", getRootElement(), onClientPlayerWeaponFire ) ================================================== i wanna when i buy the grande all players hear the sound when i buy it i hope you understand me i try to make it work and all players hear the sound m.mp3 pleez help Link to comment
BinSlayer1 Posted October 2, 2011 Share Posted October 2, 2011 Question after question ~= learning Hint: trigger server event then trigger client event to root with playSound data 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