Jump to content

مشكلة


Recommended Posts

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

جرب

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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...