Arsilex Posted August 9, 2012 Share Posted August 9, 2012 addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local uSound = playSound3D( 'http://84.16.224.52:34995', 2498, -1659, 12 ) setSoundMaxDistance( uSound, 100 ) end ) i have one problems only i listed the song other players no what is the problem? Link to comment
Castillo Posted August 9, 2012 Share Posted August 9, 2012 Nothing is wrong, it should work just fine. Link to comment
Anderl Posted August 9, 2012 Share Posted August 9, 2012 The sound is created for local player only. Link to comment
Slide Posted August 9, 2012 Share Posted August 9, 2012 (edited) Well there is no problem as soildersnake14 says. But I think I know what you want you want to play the sound to hole server instead of you only just change distance (100) to a bigger value Or take a look here setSoundMaxDistance Edited August 10, 2012 by Guest Link to comment
Anderl Posted August 9, 2012 Share Posted August 9, 2012 (edited) Well there is no problem as soildersnake14 says.But I think I know what you want you want to play the sound to hole server instead of the distance (100) just Change it to a bigger value Or take a look here setSoundMaxDistance Or make an event creating the sound for source and trigger it for everybody. Edited August 10, 2012 by Guest 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