Mr.Mostafa Posted April 24, 2018 Share Posted April 24, 2018 آلسلام عليكم آنآ مسوي لمآ آضغط زر يشغل صوت بس مآ يظبط -- ممكن تصحيح ؟؟ client : addEventHandler("onClientGUIClick",root, function () if source == b1 then triggerServerEvent("sound",localPlayer) end end ) server : addEvent("sound",true) addEventHandler("sound",root, function( source ) playSoundFrontEnd(source, 30) end ) Link to comment
#Major . Posted April 24, 2018 Share Posted April 24, 2018 addEventHandler("onClientGUIClick",root, function () if source == b1 then playSoundFrontEnd( 30 ) end end ) -- client 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