Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.72 KB | None | 0 0
  1.  
  2. GUIEditor = {
  3.     label = {},
  4.     button = {},
  5.     window = {},
  6.     scrollbar = {},
  7.     memo = {}
  8. }
  9. addEventHandler("onClientResourceStart", resourceRoot,
  10.     function()
  11.         GUIEditor.window[1] = guiCreateWindow(10, 0, 430, 281, "Biznes", false)
  12.         guiWindowSetSizable(GUIEditor.window[1], false)
  13.  
  14.         GUIEditor.memo[1] = guiCreateMemo(10, 33, 410, 156, "Tu bedzie opis biznesu", false, GUIEditor.window[1])
  15.         guiMemoSetReadOnly(GUIEditor.memo[1], true)
  16.         GUIEditor.memo[2] = guiCreateMemo(9, 199, 252, 33, "Dzienne przychody: ~230$", false, GUIEditor.window[1])
  17.         guiMemoSetReadOnly(GUIEditor.memo[2], true)
  18.         GUIEditor.memo[3] = guiCreateMemo(10, 236, 251, 31, "Cena za 3 dni: 400$ + vat", false, GUIEditor.window[1])
  19.         guiMemoSetReadOnly(GUIEditor.memo[3], true)
  20.         GUIEditor.button[1] = guiCreateButton(267, 199, 153, 33, "Wykup na 3 dni", false, GUIEditor.window[1])
  21.         GUIEditor.button[2] = guiCreateButton(267, 236, 153, 31, "Anuluj", false, GUIEditor.window[1])
  22.  
  23.  
  24.         GUIEditor.window[2] = guiCreateWindow(10, 287, 388, 201, "Panel biznesu", false)
  25.         guiWindowSetSizable(GUIEditor.window[2], false)
  26.  
  27.         GUIEditor.button[3] = guiCreateButton(203, 30, 170, 35, "Sprzedaj biznes za 200$", false, GUIEditor.window[2])
  28.         GUIEditor.button[4] = guiCreateButton(203, 71, 170, 35, "Wypłać pieniądze", false, GUIEditor.window[2])
  29.         GUIEditor.memo[4] = guiCreateMemo(21, 30, 178, 35, "Dzienne przychody: ~230$", false, GUIEditor.window[2])
  30.         guiMemoSetReadOnly(GUIEditor.memo[4], true)
  31.         GUIEditor.memo[5] = guiCreateMemo(21, 71, 178, 35, "Zebrane pieniądze: 332$", false, GUIEditor.window[2])
  32.         guiMemoSetReadOnly(GUIEditor.memo[5], true)
  33.         GUIEditor.memo[6] = guiCreateMemo(21, 112, 178, 35, "Pozostałe godziny: 43", false, GUIEditor.window[2])
  34.         guiMemoSetReadOnly(GUIEditor.memo[6], true)
  35.         GUIEditor.button[5] = guiCreateButton(203, 153, 170, 35, "Anuluj", false, GUIEditor.window[2])
  36.         GUIEditor.button[6] = guiCreateButton(203, 112, 170, 35, "Opłać na 3 dni", false, GUIEditor.window[2])
  37.  
  38.  
  39.         GUIEditor.window[3] = guiCreateWindow(408, 291, 355, 201, "Panel wypłaty", false)
  40.         guiWindowSetSizable(GUIEditor.window[3], false)
  41.  
  42.         GUIEditor.memo[7] = guiCreateMemo(10, 29, 335, 76, "Masz dwie opcje wypłaty, opcja automatyczna kosztuje 25% twoich zysków, opcja manualna nie kosztuje nic, jednak podejmujesz ryzyko straty", false, GUIEditor.window[3])
  43.         guiMemoSetReadOnly(GUIEditor.memo[7], true)
  44.         GUIEditor.scrollbar[1] = guiCreateScrollBar(10, 127, 335, 15, true, false, GUIEditor.window[3])
  45.         guiScrollBarSetScrollPosition(GUIEditor.scrollbar[1], 100.0)
  46.         GUIEditor.label[1] = guiCreateLabel(10, 105, 335, 22, "40$", false, GUIEditor.window[3])
  47.         guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
  48.         guiLabelSetVerticalAlign(GUIEditor.label[1], "center")
  49.         GUIEditor.button[7] = guiCreateButton(239, 159, 105, 32, "Automatycznie", false, GUIEditor.window[3])
  50.         GUIEditor.button[8] = guiCreateButton(124, 159, 105, 32, "Automatycznie", false, GUIEditor.window[3])
  51.         GUIEditor.button[9] = guiCreateButton(9, 159, 105, 32, "Automatycznie", false, GUIEditor.window[3])
  52.  
  53.  
  54.         GUIEditor.window[4] = guiCreateWindow(447, 144, 316, 127, "Biznes", false)
  55.         guiWindowSetSizable(GUIEditor.window[4], false)
  56.  
  57.         GUIEditor.memo[8] = guiCreateMemo(11, 29, 295, 56, "Ten biznes należy do orzel1244\nJest opłacony na 23 godziny.", false, GUIEditor.window[4])
  58.         guiMemoSetReadOnly(GUIEditor.memo[8], true)
  59.         GUIEditor.button[10] = guiCreateButton(92, 93, 132, 24, "Ok", false, GUIEditor.window[4])    
  60.     end
  61. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement