Jump to content

como hacer una GUI LOGIN ?


iFoReX

Recommended Posts

mira aqui esta la GUi recien la termine ^^ pero que eventos ai que agregarle ? :P

ddEventHandler("onClientResourceStart",resourceRoot, 
    function() 
        GUIEditor_Window = {} 
        GUIEditor_TabPanel = {} 
        GUIEditor_Tab = {} 
        GUIEditor_Button = {} 
        GUIEditor_Memo = {} 
        GUIEditor_Label = {} 
        GUIEditor_Edit = {} 
        GUIEditor_Image = {} 
  
        GUIEditor_Window[1] = guiCreateWindow(119,162,592,383,"GUI Login-Register BKZ|Clan MTA",false) 
        GUIEditor_TabPanel[1] = guiCreateTabPanel(0.0152,0.0966,0.9696,0.8695,true,GUIEditor_Window[1]) 
        GUIEditor_Tab[1] = guiCreateTab("Login",GUIEditor_TabPanel[1]) 
        GUIEditor_Label[1] = guiCreateLabel(0.0174,0.1294,0.0697,0.068,"Usuario",true,GUIEditor_Tab[1]) 
        guiLabelSetColor(GUIEditor_Label[1],200, 0, 0) 
        GUIEditor_Edit[1] = guiCreateEdit(0.0993,0.1133,0.1742,0.0809,"",true,GUIEditor_Tab[1]) 
        GUIEditor_Label[2] = guiCreateLabel(0.0174,0.2718,0.0679,0.0583,"Pass",true,GUIEditor_Tab[1]) 
        guiLabelSetColor(GUIEditor_Label[2],200, 0, 0) 
        GUIEditor_Edit[2] = guiCreateEdit(0.0993,0.2492,0.1742,0.0809,"",true,GUIEditor_Tab[1]) 
        guiEditSetMasked(GUIEditor_Edit[2],true) 
        GUIEditor_Image[1] = guiCreateStaticImage(0.0105,0.4466,0.9791,0.5081,"images/logobkz.png",true,GUIEditor_Tab[1]) 
        GUIEditor_Button[1] = guiCreateButton(0.1777,0.3722,0.2422,0.123,"Loggearme",true,GUIEditor_Tab[1]) 
        GUIEditor_Memo[1] = guiCreateMemo(0.4495,0.0518,0.5244,0.4595,"Zombie Invasion Chile. Server Creado Por ElMota osea yo.  Bueeno las reglas son : \n\n-.No al spamm ( Bann o kick )\n-.No a los Bugs ( Bann o kick )\n-.No a los cheats o hacks ( Bann )\n-.No pedir admin, el admin se gana ( Mute )",true,GUIEditor_Tab[1]) 
        guiMemoSetReadOnly(GUIEditor_Memo[1],true) 
        GUIEditor_Tab[2] = guiCreateTab("Register",GUIEditor_TabPanel[1]) 
        GUIEditor_Label[3] = guiCreateLabel(0.0296,0.1845,0.0662,0.0518,"Usuario",true,GUIEditor_Tab[2]) 
        guiLabelSetColor(GUIEditor_Label[3],200, 0, 0) 
        GUIEditor_Edit[3] = guiCreateEdit(0.1167,0.178,0.1725,0.0647,"",true,GUIEditor_Tab[2]) 
        GUIEditor_Label[4] = guiCreateLabel(0.0279,0.3074,0.0383,0.0485,"Pass",true,GUIEditor_Tab[2]) 
        guiLabelSetColor(GUIEditor_Label[4],200, 0, 0) 
        GUIEditor_Edit[4] = guiCreateEdit(0.0906,0.301,0.2003,0.068,"",true,GUIEditor_Tab[2]) 
        GUIEditor_Image[2] = guiCreateStaticImage(0.0296,0.5113,0.9303,0.4693,"images/logobkz.png",true,GUIEditor_Tab[2]) 
        GUIEditor_Label[5] = guiCreateLabel(0.0261,0.4434,0.0523,0.0421,"e-mail",true,GUIEditor_Tab[2]) 
        guiLabelSetColor(GUIEditor_Label[5],200, 0, 0) 
        GUIEditor_Edit[5] = guiCreateEdit(0.0941,0.4337,0.2003,0.068,"",true,GUIEditor_Tab[2]) 
        GUIEditor_Button[2] = guiCreateButton(0.324,0.4078,0.2247,0.1359,"Registrarme",true,GUIEditor_Tab[2]) 
        GUIEditor_Memo[2] = guiCreateMemo(0.5662,0.0227,0.4146,0.5599,"Al registarte en mi Server aceptas las condiciones de uso y de juego adaptadas a los terminos de privacidad (R) Zombie Invasion Chile Marca Registrada CopyRight 2012 (c)",true,GUIEditor_Tab[2]) 
        guiMemoSetReadOnly(GUIEditor_Memo[2],true) 
        GUIEditor_Label[6] = guiCreateLabel(0.5236,0.0992,0.451,0.0444,"GUI Creada por ElMota CopyRight 2012 (c)",true,GUIEditor_Window[1]) 
        guiSetFont(GUIEditor_Label[6],"clear-normal") 
    end 
) 
  
  
  

Link to comment
  • Recently Browsing   0 members

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