mahmod3 Posted March 2, 2017 Share Posted March 2, 2017 addEvent("play2",true) addEventHandler("play2",root, function (m) if isElement(sound) then stopSound(sound) end sound = playSound(""..m..".mp3") if source == btn1 then if isElement(sound) then setSoundVolume(sound,getSoundVolume(sound)+1) outputChatBox("قوة الصوت في اغنيه هيا"..getSoundVolume(sound).."",0,255,0,true) else outputChatBox("لا توجد اغنيه",0,255,true) end end end ) ليش مايزيد الصوت Link to comment
Ahmed Ly Posted March 2, 2017 Share Posted March 2, 2017 جرب addEvent("play2",true) addEventHandler("play2",root, function (m) if isElement(sound) then stopSound(sound) end sound = playSound(""..m..".mp3") end ) addEventHandler("onClientGUIClick",root, function () if source == btn1 then if isElement(sound) then setSoundVolume(sound,getSoundVolume(sound)+1) outputChatBox("قوة الصوت في اغنيه هيا"..getSoundVolume(sound).."",0,255,0,true) else outputChatBox("لا توجد اغنيه",0,255,true) end end end ) Link to comment
mahmod3 Posted March 2, 2017 Author Share Posted March 2, 2017 23 hours ago, Ahmed Ly said: جرب addEvent("play2",true) addEventHandler("play2",root, function (m) if isElement(sound) then stopSound(sound) end sound = playSound(""..m..".mp3") end ) addEventHandler("onClientGUIClick",root, function () if source == btn1 then if isElement(sound) then setSoundVolume(sound,getSoundVolume(sound)+1) outputChatBox("قوة الصوت في اغنيه هيا"..getSoundVolume(sound).."",0,255,0,true) else outputChatBox("لا توجد اغنيه",0,255,true) end end 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