Guest User

Untitled

a guest
Jul 31st, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.76 KB | None | 0 0
  1. GUIEditor = {
  2.     checkbox = {},
  3.     window = {},
  4.     button = {}
  5. }
  6.  
  7.  
  8. addEventHandler("onClientResourceStart", resourceRoot,
  9.     function()
  10.         local sW, sH = guiGetScreenSize()
  11.         GUIEditor.window[1] = guiCreateWindow(sW*0.5-481/2, sH*0.5-412/2, 481, 412, "", false)
  12.         guiWindowSetMovable(GUIEditor.window[1], true)
  13.         GUIEditor.button[1] = guiCreateButton(64, 61, 102, 46, "", false, GUIEditor.window[1])
  14.         guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA")
  15.         GUIEditor.checkbox[1] = guiCreateCheckBox(86, 162, 15, 15, "", false, false, GUIEditor.window[1])
  16.  
  17.         --guiSetProperty( GUIEditor.window[1], "VerticalAlignment", "Centre" )
  18.         --guiSetProperty( GUIEditor.window[1], "HorizontalAlignment", "Centre" )
  19.  
  20.  
  21.        
  22.     end
  23. )
Advertisement
Add Comment
Please, Sign In to add comment