Jump to content

Una ayudita :S


Arsilex

Recommended Posts

addEvent ( "onSpecialEvent", true ) 
function specialEventHandler() 
  
        Espanol = guiCreateButton(616,76,139,68,"",false) 
        En = guiCreateButton(616,153,139,68,"",false) 
        Ru = guiCreateButton(616,228,139,68,"",false) 
        Br = guiCreateButton(616,298,139,68,"",false) 
        pr = guiCreateButton(616,371,139,68,"",false) 
        fr = guiCreateButton(616,448,139,68,"",false) 
         
        guiSetAlpha(Espanol,0) 
        guiSetAlpha(En,0) 
        guiSetAlpha(Ru,0) 
        guiSetAlpha(Br,0) 
        guiSetAlpha(pr,0) 
        guiSetAlpha(fr,0) 
         
        addEventHandler ( "onClientGUIClick", Espanol, Es, false ) 
        addEventHandler ( "onClientGUIClick", En, Ingles, false ) 
end 
addEventHandler ( "onSpecialEvent", root, specialEventHandler ) 
  
  
-- Direct X Drawing 
  
function Mova() 
        dxDrawRectangle(547.0,63.0,275.0,467.0,tocolor(0,0,0,220),true) 
        dxDrawImage(616.0,449.0,139.0,67.0,"images/fr.png",0.0,0.0,0.0,tocolor(255,255,255,255),true) 
        dxDrawImage(616.0,376.0,141.0,63.0,"images/pr.png",0.0,0.0,0.0,tocolor(255,255,255,255),true) 
        dxDrawImage(616.0,304.0,139.0,62.0,"images/br.png",0.0,0.0,0.0,tocolor(255,255,255,255),true) 
        dxDrawImage(616.0,228.0,139.0,66.0,"images/ru.png",0.0,0.0,0.0,tocolor(255,255,255,255),true) 
        dxDrawImage(616.0,153.0,139.0,65.0,"images/en.png",0.0,0.0,0.0,tocolor(255,255,255,255),true) 
        dxDrawImage(616.0,76.0,139.0,67.0,"images/es.png",0.0,0.0,0.0,tocolor(255,255,255,255),true) 
end 
  
  
addEventHandler("onClientPlayerJoin", getLocalPlayer(), 
function () 
addEventHandler("onClientRender", getRootElement(), Mova) 
triggerEvent ( "onSpecialEvent", getRootElement()) 
end 
) 

Link to comment
  • Recently Browsing   0 members

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