ذا الكود اسهل
addEventHandler( "onClientMouseEnter", guiRoot, function( )
if ( source == GUIEditor.button[2] ) then
guiStaticImageLoadImage(GUIEditor.button[2],"S2.png")
playSoundFrontEnd ( 1)
end
end )
addEventHandler( "onClientMouseLeave", guiRoot, function( )
if ( source ==GUIEditor.button[2] ) then
guiStaticImageLoadImage(GUIEditor.button[2],"S1.png")
end
end )