ASA2 = guiCreateStaticImage(226,52,200,169,"file/2.png",false,WWA)
setElementData(ASA2, "tooltip-text", "POLICE", false ,WWA)
guiSetAlpha(ASA2 ,0.5)
ASA1 = guiCreateStaticImage(26,47,178,169,"file/3.png",false,WWA)
setElementData(b1, "tooltip-text", "BALLAS", false ,WWA)
guiSetAlpha(ASA1,0.5)
ASA3 = guiCreateStaticImage(448,52,278,159,"file/1.png",false,WWA)
setElementData(b3, "tooltip-text", "GROVE", false ,WWA)
guiSetAlpha(ASA3 ,0.5)
addEventHandler("onClientMouseMove",root,function ( x, y )
if ( source == ASA2 ) then
guiSetAlpha(ASA2 , 1)
elseif ( source == ASA1 ) then
guiSetAlpha(ASA1 , 1)
elseif ( source == ASA3 ) then
guiSetAlpha(ASA1 , 1)
end
end)
addEventHandler("onClientMouseLeave",root,function ( x, y )
if ( source == ASA2 ) then
guiSetAlpha(ASA2 , 0.5)
elseif ( source == ASA1 ) then
guiSetAlpha(ASA2 , 0.5)
elseif ( source == ASA3 ) then
guiSetAlpha(ASA2 , 0.5)
end
end)
جرب هذاآ
وسوي نسخه من القديمـ