Jump to content

طلب #


Recommended Posts

  
Client Side ! 
addEventHandler("onClientMouseEnter",root, 
function () 
if source == NameButton then 
local sound = playSound("sounds/button_enter.mp3") 
setSoundVolume(sound, 0.5) 
if isElement( sound ) then 
destroyElement ( sound ) 
end 
end 
end) 
  

التعديل : في سطر 3 NameButton الى اسم الزر

... # :mrgreen:

Link to comment
  
Client Side ! 
addEventHandler("onClientMouseEnter",root, 
function () 
if source == NameButton then 
local sound = playSound("sounds/button_enter.mp3") 
setSoundVolume(sound, 0.5) 
if isElement( sound ) then 
destroyElement ( sound ) 
end 
end 
end) 
  

التعديل : في سطر 3 NameButton الى اسم الزر

... # :mrgreen:

كود رائع ماشاء الله

بس تقدر تقولي وش يسوي؟

Link to comment

-- Client Side ! 
  
addEventHandler("onClientMouseEnter", button, 
 function () 
   if isElement ( sound ) then destroyElement ( sound ) end 
 sound = playSound("sounds/button_enter.mp3") 
 setSoundVolume(sound, 0.5) 
  end,false 
) 
Edited by Guest
Link to comment
-- Client Side ! 
  
addEventHandler("onClientMouseEnter", button, 
 function () 
   if isElement ( sound ) then destroyElement ( sound ) end 
 sound = playSound("sounds/button_enter.mp3") 
 setSoundVolume(sound, 0.5) 
  end 
) 

end,false

+ عطيته الكود بالخاص اول ذذ

Edited by Guest
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...