Jump to content

كود الصوره ترتفع


Recommended Posts

local ksa =  guiCreateStaticImage(276, 194, 262, 212, "sa.jpg", false)       
guiSetAlpha ( ksa , 0.5 ) 
  
function SetAlpha ( ) 
    if eventName == 'onClientMouseEnter' then  
        guiSetAlpha ( ksa , 1 ) 
        guiSetPosition ( ksa,276, 210,false ) 
    else 
        guiSetAlpha ( ksa , 0.5 ) 
        guiSetPosition ( ksa,276, 194,false ) 
    end 
end 
addEventHandler('onClientMouseEnter',ksa,SetAlpha,false) 
addEventHandler('onClientMouseLeave',ksa,SetAlpha,false) 

مشكوور

تقدر تخلي يجي معه صوت !

إذا أشرت

Link to comment
local ksa =  guiCreateStaticImage(276, 194, 262, 212, "sa.jpg", false)       
guiSetAlpha ( ksa , 0.5 ) 
  
function SetAlpha ( ) 
    if eventName == 'onClientMouseEnter' then  
        guiSetAlpha ( ksa , 1 ) 
        guiSetPosition ( ksa,276, 210,false ) 
        if isElement ( sound ) then stopSound ( sound ) end 
        sound = playSound('FilePath') 
    else 
        guiSetAlpha ( ksa , 0.5 ) 
        guiSetPosition ( ksa,276, 194,false ) 
    end 
end 
addEventHandler('onClientMouseEnter',ksa,SetAlpha,false) 
addEventHandler('onClientMouseLeave',ksa,SetAlpha,false) 

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