Jump to content

[help]gui team.


Chronos

Recommended Posts

hello , i made this gui but still i need some help ,well i need some functions that's make me to create team,wirh RPG color,and Marker Position to take the team.

gui:

  
GUIEditor = { 
    checkbox = {}, 
    edit = {}, 
    button = {}, 
    window = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(259, 115, 300, 200, "Team manager", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFA3803") 
  
        GUIEditor.edit[1] = guiCreateEdit(300, 184, 0, 15, "", false, GUIEditor.window[1]) 
        GUIEditor.label[1] = guiCreateLabel(10, 35, 80, 22, "Create Team:", false, GUIEditor.window[1]) 
        GUIEditor.edit[2] = guiCreateEdit(100, 35, 180, 22, "", false, GUIEditor.window[1]) 
        GUIEditor.label[2] = guiCreateLabel(10, 82, 75, 22, "Team color:", false, GUIEditor.window[1]) 
        GUIEditor.checkbox[1] = guiCreateCheckBox(302, 173, 0, 15, "", false, false, GUIEditor.window[1]) 
        GUIEditor.edit[3] = guiCreateEdit(110, 82, 45, 22, "", false, GUIEditor.window[1]) 
        GUIEditor.edit[4] = guiCreateEdit(172, 82, 45, 22, "", false, GUIEditor.window[1]) 
        GUIEditor.edit[5] = guiCreateEdit(235, 82, 45, 22, "", false, GUIEditor.window[1]) 
        GUIEditor.label[3] = guiCreateLabel(10, 129, 90, 22, "Marker Position:", false, GUIEditor.window[1]) 
        GUIEditor.edit[6] = guiCreateEdit(110, 129, 45, 22, "", false, GUIEditor.window[1]) 
        GUIEditor.edit[7] = guiCreateEdit(172, 129, 45, 22, "", false, GUIEditor.window[1]) 
        GUIEditor.edit[8] = guiCreateEdit(235, 129, 45, 22, "", false, GUIEditor.window[1]) 
        GUIEditor.button[1] = guiCreateButton(117, 168, 100, 22, "add team", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFA5402")     
    end 
) 
  

as you can see this is the gui.

proxy_sa_2013_07_21_07_48_10_34.png

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