Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GUIEditor = {
- label = {},
- edit = {},
- button = {},
- window = {},
- gridlist = {},
- memo = {}
- }
- addEventHandler("onClientResourceStart", resourceRoot,
- function()
- local screenW, screenH = guiGetScreenSize()
- GUIEditor.window[1] = guiCreateWindow((screenW - 704) / 2, (screenH - 469) / 2, 704, 469, "Organization Name", false)
- guiWindowSetSizable(GUIEditor.window[1], false)
- GUIEditor.gridlist[1] = guiCreateGridList(9, 22, 525, 197, false, GUIEditor.window[1])
- guiGridListAddColumn(GUIEditor.gridlist[1], "Player", 0.3)
- guiGridListAddColumn(GUIEditor.gridlist[1], "Last Login", 0.3)
- guiGridListAddColumn(GUIEditor.gridlist[1], "Level", 0.3)
- guiGridListAddRow(GUIEditor.gridlist[1])
- guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "-", false, false)
- guiGridListSetItemText(GUIEditor.gridlist[1], 0, 2, "-", false, false)
- guiGridListSetItemText(GUIEditor.gridlist[1], 0, 3, "-", false, false)
- GUIEditor.button[1] = guiCreateButton(544, 53, 151, 23, "Set Leader", false, GUIEditor.window[1])
- GUIEditor.button[2] = guiCreateButton(543, 81, 152, 23, "Set HQ", false, GUIEditor.window[1])
- GUIEditor.button[3] = guiCreateButton(542, 109, 153, 23, "Set Member", false, GUIEditor.window[1])
- GUIEditor.button[4] = guiCreateButton(542, 138, 152, 23, "Set Probation", false, GUIEditor.window[1])
- GUIEditor.button[5] = guiCreateButton(541, 195, 153, 23, "Kick Player", false, GUIEditor.window[1])
- GUIEditor.button[6] = guiCreateButton(542, 167, 152, 23, "Invite Player", false, GUIEditor.window[1])
- GUIEditor.label[1] = guiCreateLabel(562, 26, 117, 17, "HQ/Leader Functions", false, GUIEditor.window[1])
- GUIEditor.memo[1] = guiCreateMemo(9, 255, 345, 204, "", false, GUIEditor.window[1])
- GUIEditor.label[2] = guiCreateLabel(154, 239, 57, 16, "Info/News", false, GUIEditor.window[1])
- GUIEditor.button[7] = guiCreateButton(358, 426, 75, 33, "Change", false, GUIEditor.window[1])
- GUIEditor.button[8] = guiCreateButton(358, 383, 75, 33, "Save", false, GUIEditor.window[1])
- GUIEditor.label[3] = guiCreateLabel(463, 358, 221, 15, "Bank:", false, GUIEditor.window[1])
- guiSetFont(GUIEditor.label[3], "default-bold-small")
- GUIEditor.edit[1] = guiCreateEdit(463, 414, 221, 35, "", false, GUIEditor.window[1])
- GUIEditor.button[9] = guiCreateButton(463, 383, 105, 23, "Withdraw", false, GUIEditor.window[1])
- GUIEditor.button[10] = guiCreateButton(579, 383, 105, 23, "Deposit", false, GUIEditor.window[1])
- GUIEditor.memo[2] = guiCreateMemo(368, 255, 156, 93, "-\n-\n-\n-\n-", false, GUIEditor.window[1])
- GUIEditor.label[4] = guiCreateLabel(418, 239, 57, 16, "Black List", false, GUIEditor.window[1])
- GUIEditor.memo[3] = guiCreateMemo(538, 255, 156, 93, "-\n-\n-\n-\n-", false, GUIEditor.window[1])
- GUIEditor.label[5] = guiCreateLabel(576, 239, 65, 16, "Pending List", false, GUIEditor.window[1])
- GUIEditor.button[11] = guiCreateButton(566, 219, 115, 13, "Leave Org", false, GUIEditor.window[1])
- end
- )
- --- Only HQ/Leader can change Blacklist and Pending and Info/News and kick and give level and kick players
- -- Use /createorg [name] "to create Gang/squad/company"
- -- Use /org "to open panel if you're in a gang"
- -- Everyone can leave the gang, by use "Leave Org"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement