berry172 Posted August 23, 2012 Share Posted August 23, 2012 addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local uSound = playSound3D( 'http://79.172.241.237:8200/2000.mp3', 1836.5478515625, -1682.2998046875, 13.343364715576) local uSound = playSound3D( 'http://79.172.241.237:8000/radio1.mp3', 487.890625, -14.0380859375, 1000.6796875 , 28) setSoundMaxDistance( uSound, 100 ) end ) Dimension 18 is not playing... What is the problem? Link to comment
denny199 Posted August 23, 2012 Share Posted August 23, 2012 set the element to dimension 18? setElementDimension() so: addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local uSound = playSound3D( 'http://79.172.241.237:8200/2000.mp3', 1836.5478515625, -1682.2998046875, 13.343364715576) setElementDimension(uSound, 18) local uSound2 = playSound3D( 'http://79.172.241.237:8000/radio1.mp3', 487.890625, -14.0380859375, 1000.6796875 , 28) setElementDimension(uSound2, 18) setSoundMaxDistance( uSound, 100 ) setSoundMaxDistance( uSound2, 100 ) end ) 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