Jump to content

Bind not work help me


Recommended Posts

My bind not work, can help me ?

I press and it seems does not work, I can not find anything wrong someone help me?

    function terragustavo_MainWindow() 
        
      
        local gui = {} 
        gui._placeHolders = {} 
        
        local screenWidth, screenHeight = guiGetScreenSize() 
        local windowWidth, windowHeight = 600, 210 
        local left = screenWidth/2 - windowWidth/2 
        local top = screenHeight/2 - windowHeight/2 
        gui["_root"] = guiCreateWindow(left, top, windowWidth, windowHeight, "Sistema de Comandos TERRA # Feito por Gustavo", false) 
        guiWindowSetSizable(gui["_root"], true) 
      
            bindKey ( "F5", "down", Window ) 
            bindKey ( "F5", "up", Window ) 
        
        gui["label"] = guiCreateLabel(10, 35, 201, 16, "Comando Para Membros", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label"], "left", false) 
        guiLabelSetVerticalAlign(gui["label"], "center") 
        
        gui["label_2"] = guiCreateLabel(310, 35, 201, 16, "Comando Para Admnistradores", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_2"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_2"], "center") 
        
        gui["label_3"] = guiCreateLabel(40, 65, 171, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_3"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_3"], "center") 
        
        gui["label_4"] = guiCreateLabel(40, 85, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_4"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_4"], "center") 
        
        gui["label_5"] = guiCreateLabel(40, 105, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_5"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_5"], "center") 
        
        gui["label_6"] = guiCreateLabel(40, 125, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_6"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_6"], "center") 
        
        gui["label_7"] = guiCreateLabel(40, 145, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_7"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_7"], "center") 
        
        gui["label_8"] = guiCreateLabel(350, 145, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_8"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_8"], "center") 
        
        gui["label_9"] = guiCreateLabel(350, 125, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_9"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_9"], "center") 
        
        gui["label_10"] = guiCreateLabel(350, 105, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_10"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_10"], "center") 
        
        gui["label_11"] = guiCreateLabel(350, 85, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_11"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_11"], "center") 
        
        gui["label_12"] = guiCreateLabel(350, 65, 161, 16, "Digite aqui", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_12"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_12"], "center") 
        
        gui["label_13"] = guiCreateLabel(10, 167, 571, 31, "Script Feito por Gustavo                    Acesse nosso forum: ranking.terra.com.br/forum", false, gui["_root"]) 
        guiLabelSetHorizontalAlign(gui["label_13"], "left", false) 
        guiLabelSetVerticalAlign(gui["label_13"], "center") 
        
        return gui, windowWidth, windowHeight 
      
      
    end 
        addEventHandler ( "onClientResourceStart", resourceRoot, terragustavo_MainWindow ) 
      

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