Advertisement
Shark_Mako

Untitled

Jun 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.46 KB | None | 0 0
  1. GUIEditor = {
  2.     gridlist = {},
  3.     window = {},
  4.     button = {},
  5.     memo = {}
  6. }
  7. addEventHandler("onClientResourceStart", resourceRoot,
  8.     function()
  9. local screenW, screenH = guiGetScreenSize()
  10.         GUIEditor.window[1] = guiCreateWindow((screenW - 702) / 2, (screenH - 412) / 2, 702, 412, "Country Supporters List", false)
  11.         guiWindowSetSizable(GUIEditor.window[1], false)
  12.         guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF44EC11")
  13.  
  14.         GUIEditor.button[1] = guiCreateButton(571, 351, 105, 51, "Close", false, GUIEditor.window[1])
  15.         GUIEditor.button[2] = guiCreateButton(441, 351, 105, 51, "Set warning %", false, GUIEditor.window[1])
  16.         GUIEditor.button[3] = guiCreateButton(311, 351, 105, 51, "Add Account", false, GUIEditor.window[1])
  17.         GUIEditor.button[4] = guiCreateButton(177, 351, 105, 51, "Set Country", false, GUIEditor.window[1])
  18.         GUIEditor.button[5] = guiCreateButton(45, 351, 105, 51, "Set Nickname", false, GUIEditor.window[1])
  19.         GUIEditor.memo[1] = guiCreateMemo(13, 304, 679, 30, "", false, GUIEditor.window[1])
  20.         GUIEditor.gridlist[1] = guiCreateGridList(10, 26, 682, 268, false, GUIEditor.window[1])
  21.         guiGridListAddColumn(GUIEditor.gridlist[1], "Name", 0.2)
  22.         guiGridListAddColumn(GUIEditor.gridlist[1], "Account", 0.2)
  23.         guiGridListAddColumn(GUIEditor.gridlist[1], "Country", 0.2)
  24.         guiGridListAddColumn(GUIEditor.gridlist[1], "Warning %", 0.2)    
  25.     end
  26. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement