#meS Posted August 8, 2015 Posted August 8, 2015 Hello how to play sound for all players? I know playSound but not working. Thanks in advance. Hi
iMr.SFA7 Posted August 8, 2015 Posted August 8, 2015 addEventHandler ("onClientResourceStart",resourceRoot, function () local player = getElementsByType("player") for i,v in ipairs(player) do if isElement ( sound ) then destroyElement(sound) local sound = playSound ("sound.mp3") setSoundVolume ( sound , 0.5 ) end end end ) "A Year from Now You May Wish You Had Started Today"
iMr.SFA7 Posted August 8, 2015 Posted August 8, 2015 nope not working. The sound File in script ?? "A Year from Now You May Wish You Had Started Today"
iMr.SFA7 Posted August 8, 2015 Posted August 8, 2015 You are welcome. "A Year from Now You May Wish You Had Started Today"
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