Jump to content

GUI Help


demojoel

Recommended Posts

addEventHandler("onClientResourceStart",resourceRoot, 
    function() 
        GUIEditor_TabPanel = {} 
        GUIEditor_Tab = {} 
        GUIEditor_Button = {} 
        GUIEditor_Memo = {} 
        GUIEditor_Label = {} 
        GUIEditor_Edit = {} 
        GUIEditor_Radio = {} 
        GUIEditor_Grid = {} 
  
        GUIEditor_TabPanel[1] = guiCreateTabPanel(368,87,636,536,false) 
        GUIEditor_Tab[1] = guiCreateTab("Login/Register Panel",GUIEditor_TabPanel[1]) 
        GUIEditor_Label[1] = guiCreateLabel(45,104,86,18,"Account Name:",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[2] = guiCreateLabel(25,137,105,18,"Account Password:",false,GUIEditor_Tab[1]) 
        GUIEditor_Edit[1] = guiCreateEdit(134,102,116,21,"",false,GUIEditor_Tab[1]) 
        GUIEditor_Edit[2] = guiCreateEdit(134,135,116,21,"",false,GUIEditor_Tab[1]) 
        GUIEditor_Radio[1] = guiCreateRadioButton(64,166,16,18,"",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[3] = guiCreateLabel(91,166,80,17,"Remember Me",false,GUIEditor_Tab[1]) 
        GUIEditor_Radio[2] = guiCreateRadioButton(64,187,16,18,"",false,GUIEditor_Tab[1]) 
        guiRadioButtonSetSelected(GUIEditor_Radio[2],true) 
        GUIEditor_Label[4] = guiCreateLabel(91,187,92,18,"Automatic Login",false,GUIEditor_Tab[1]) 
        GUIEditor_Button[1] = guiCreateButton(32,213,250,42,"Login",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[5] = guiCreateLabel(77,6,488,44,"Welcome to Oracle Gaming",false,GUIEditor_Tab[1]) 
        guiSetFont(GUIEditor_Label[5],"sa-header") 
        GUIEditor_Memo[1] = guiCreateMemo(321,130,286,350,"New Login System - We now have a new login system which is brand new.\n\n\nToken System - The all new donation system is almost coming to an end ready for testing.\n\n\nReport System - Planning a new GUI for t",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[6] = guiCreateLabel(422,109,94,17,"News & Updates:",false,GUIEditor_Tab[1]) 
        guiSetFont(GUIEditor_Label[6],"default-bold-small") 
        GUIEditor_Edit[3] = guiCreateEdit(134,316,116,21,"Memorable Name",false,GUIEditor_Tab[1]) 
        GUIEditor_Edit[4] = guiCreateEdit(134,368,116,21,"********",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[7] = guiCreateLabel(45,317,86,18,"Account Name:",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[8] = guiCreateLabel(25,370,105,18,"Account Password:",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[9] = guiCreateLabel(130,75,35,16,"Login:",false,GUIEditor_Tab[1]) 
        guiSetFont(GUIEditor_Label[9],"default-bold-small") 
        GUIEditor_Button[2] = guiCreateButton(32,439,250,42,"Register",false,GUIEditor_Tab[1]) 
        GUIEditor_Edit[5] = guiCreateEdit(134,400,116,21,"********",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[10] = guiCreateLabel(28,402,105,18,"Confirm Password:",false,GUIEditor_Tab[1]) 
        GUIEditor_Label[11] = guiCreateLabel(130,289,54,16,"Register:",false,GUIEditor_Tab[1]) 
        guiSetFont(GUIEditor_Label[11],"default-bold-small") 
        GUIEditor_Tab[2] = guiCreateTab("Staff (Server & Forum)",GUIEditor_TabPanel[1]) 
        GUIEditor_Label[12] = guiCreateLabel(235,37,160,18,"Oracle Gaming Server Staff",false,GUIEditor_Tab[2]) 
        guiSetFont(GUIEditor_Label[12],"default-bold-small") 
        GUIEditor_Memo[2] = guiCreateMemo(37,416,561,74,"Here at Oracle Gaming MTA Roleplay we try to have the best quality roleplay throughout the server. We choose our admins with care so we retain out high standard of help to our players, even if it's just a question use F2. If you think in anyway an admin has breached their rights, don't hesitate to contact high administration through the forums.",false,GUIEditor_Tab[2]) 
        GUIEditor_Grid[1] = guiCreateGridList(38,77,560,298,false,GUIEditor_Tab[2]) 
        guiGridListSetSelectionMode(GUIEditor_Grid[1],2) 
  
        guiGridListAddColumn(GUIEditor_Grid[1],"Account Name",0.2) 
  
        guiGridListAddColumn(GUIEditor_Grid[1],"Forum Name",0.2) 
  
        guiGridListAddColumn(GUIEditor_Grid[1],"Administrator Rank",0.2) 
  
        guiGridListAddColumn(GUIEditor_Grid[1],"Gamemaster Rank",0.2) 
  
        guiGridListAddColumn(GUIEditor_Grid[1],"APC Access",0.2) 
  
        for i = 1, 2 do 
            guiGridListAddRow(GUIEditor_Grid[1]) 
end 
  
        guiGridListSetItemText(GUIEditor_Grid[1],0,1,"") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],1,1,"brocily") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],0,2,"") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],1,2,"brocily") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],0,3,"") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],1,3,"10") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],0,4,"") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],1,4,"0") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],0,5,"") 
  
        guiGridListSetItemText(GUIEditor_Grid[1],1,5,"Yes") 
    end 
) 

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