Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[-------------------------------------------------
- Notes:
- > This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running.
- To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there.
- --]]-------------------------------------------------
- GUIEditor = {
- tab = {},
- staticimage = {},
- tabpanel = {},
- edit = {},
- gridlist = {},
- window = {},
- label = {},
- button = {}
- }
- addEventHandler("onClientResourceStart", resourceRoot,
- function()
- GUIEditor.window[1] = guiCreateWindow(355, 146, 560, 475, "", false)
- guiWindowSetSizable(GUIEditor.window[1], false)
- GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 21, 542, 445, false, GUIEditor.window[1])
- GUIEditor.tab[1] = guiCreateTab("Spieler", GUIEditor.tabpanel[1])
- GUIEditor.edit[1] = guiCreateEdit(9, 9, 136, 26, "", false, GUIEditor.tab[1])
- GUIEditor.label[1] = guiCreateLabel(168, 25, 342, 24, "Spieler", false, GUIEditor.tab[1])
- guiSetFont(GUIEditor.label[1], "default-bold-small")
- guiLabelSetColor(GUIEditor.label[1], 254, 0, 0)
- guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
- GUIEditor.button[1] = guiCreateButton(170, 59, 60, 27, "Kicken", false, GUIEditor.tab[1])
- GUIEditor.button[2] = guiCreateButton(240, 59, 60, 27, "Bannen", false, GUIEditor.tab[1])
- GUIEditor.button[3] = guiCreateButton(310, 59, 60, 27, "Muten", false, GUIEditor.tab[1])
- GUIEditor.button[4] = guiCreateButton(380, 59, 60, 27, "Freezen", false, GUIEditor.tab[1])
- GUIEditor.button[5] = guiCreateButton(450, 59, 60, 27, "Spectaten", false, GUIEditor.tab[1])
- GUIEditor.label[2] = guiCreateLabel(168, 98, 342, 24, "Informationen", false, GUIEditor.tab[1])
- guiSetFont(GUIEditor.label[2], "default-bold-small")
- guiLabelSetColor(GUIEditor.label[2], 254, 0, 0)
- guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false)
- GUIEditor.label[3] = guiCreateLabel(168, 122, 56, 23, "Name:", false, GUIEditor.tab[1])
- GUIEditor.label[4] = guiCreateLabel(168, 141, 56, 23, "IP:", false, GUIEditor.tab[1])
- GUIEditor.label[5] = guiCreateLabel(168, 178, 56, 23, "Ping:", false, GUIEditor.tab[1])
- GUIEditor.label[6] = guiCreateLabel(168, 159, 56, 23, "Serial:", false, GUIEditor.tab[1])
- GUIEditor.gridlist[1] = guiCreateGridList(5, 35, 145, 376, false, GUIEditor.tab[1])
- guiGridListAddColumn(GUIEditor.gridlist[1], "Spieler", 0.5)
- guiGridListAddColumn(GUIEditor.gridlist[1], "Fraktion", 0.5)
- GUIEditor.label[7] = guiCreateLabel(168, 201, 342, 24, "Ingame", false, GUIEditor.tab[1])
- guiSetFont(GUIEditor.label[7], "default-bold-small")
- guiLabelSetColor(GUIEditor.label[7], 254, 0, 0)
- guiLabelSetHorizontalAlign(GUIEditor.label[7], "center", false)
- GUIEditor.label[8] = guiCreateLabel(168, 225, 56, 23, "Leben:", false, GUIEditor.tab[1])
- GUIEditor.label[9] = guiCreateLabel(247, 225, 56, 23, "Weste:", false, GUIEditor.tab[1])
- GUIEditor.label[10] = guiCreateLabel(168, 244, 56, 23, "Skin:", false, GUIEditor.tab[1])
- GUIEditor.label[11] = guiCreateLabel(168, 282, 56, 23, "Geld:", false, GUIEditor.tab[1])
- GUIEditor.label[12] = guiCreateLabel(168, 263, 56, 23, "Waffen:", false, GUIEditor.tab[1])
- GUIEditor.label[13] = guiCreateLabel(168, 300, 56, 23, "Ort:", false, GUIEditor.tab[1])
- GUIEditor.label[14] = guiCreateLabel(384, 225, 56, 23, "X:", false, GUIEditor.tab[1])
- GUIEditor.label[15] = guiCreateLabel(384, 244, 56, 23, "Y:", false, GUIEditor.tab[1])
- GUIEditor.label[16] = guiCreateLabel(384, 263, 56, 23, "Z:", false, GUIEditor.tab[1])
- GUIEditor.label[17] = guiCreateLabel(384, 282, 66, 23, "Dimension:", false, GUIEditor.tab[1])
- GUIEditor.label[18] = guiCreateLabel(470, 282, 66, 23, "Interior:", false, GUIEditor.tab[1])
- GUIEditor.label[19] = guiCreateLabel(168, 323, 342, 24, "Fahrzeuge", false, GUIEditor.tab[1])
- guiSetFont(GUIEditor.label[19], "default-bold-small")
- guiLabelSetColor(GUIEditor.label[19], 254, 0, 0)
- guiLabelSetHorizontalAlign(GUIEditor.label[19], "center", false)
- GUIEditor.label[20] = guiCreateLabel(168, 342, 56, 23, "Fahrzeug:", false, GUIEditor.tab[1])
- GUIEditor.label[21] = guiCreateLabel(168, 361, 85, 23, "Fahrzeugleben:", false, GUIEditor.tab[1])
- GUIEditor.staticimage[1] = guiCreateStaticImage(516, 4, 16, 16, ":guieditor/images/cross.png", false, GUIEditor.tab[1])
- GUIEditor.tab[2] = guiCreateTab("Fraktionen", GUIEditor.tabpanel[1])
- GUIEditor.gridlist[2] = guiCreateGridList(17, 13, 168, 165, false, GUIEditor.tab[2])
- guiGridListAddColumn(GUIEditor.gridlist[2], "Fraktion", 0.9)
- for i = 1, 9 do
- guiGridListAddRow(GUIEditor.gridlist[2])
- end
- guiGridListSetItemText(GUIEditor.gridlist[2], 0, 1, "Triaden", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 0, 1, 20, 50, 100, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 1, 1, "Terroristen", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 1, 1, 125, 0, 0, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 2, 1, "SFPD", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 2, 1, 20, 150, 0, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 3, 1, "Mafia", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 3, 1, 50, 50, 50, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 4, 1, "Los Aztecas", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 4, 1, 150, 150, 0, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 5, 1, "LTR", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 5, 1, 180, 130, 0, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 6, 1, "FBI", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 6, 1, 125, 125, 200, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 7, 1, "Army", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 7, 1, 0, 255, 0, 255)
- guiGridListSetItemText(GUIEditor.gridlist[2], 8, 1, "Angels of Death", false, false)
- guiGridListSetItemColor(GUIEditor.gridlist[2], 8, 1, 100, 50, 50, 255)
- GUIEditor.button[6] = guiCreateButton(195, 15, 80, 27, "Respawnen", false, GUIEditor.tab[2])
- GUIEditor.button[7] = guiCreateButton(195, 47, 90, 27, "Fraktionskasse", false, GUIEditor.tab[2])
- GUIEditor.edit[2] = guiCreateEdit(25, 187, 150, 26, "Name", false, GUIEditor.tab[2])
- GUIEditor.button[8] = guiCreateButton(35, 218, 131, 30, "zum Leader machen", false, GUIEditor.tab[2])
- GUIEditor.staticimage[2] = guiCreateStaticImage(516, 5, 16, 16, ":guieditor/images/cross.png", false, GUIEditor.tab[2])
- GUIEditor.edit[3] = guiCreateEdit(386, 187, 89, 26, "Name", false, GUIEditor.tab[2])
- GUIEditor.edit[4] = guiCreateEdit(485, 187, 52, 26, "Rang", false, GUIEditor.tab[2])
- GUIEditor.button[9] = guiCreateButton(396, 218, 131, 30, "Rang geben", false, GUIEditor.tab[2])
- GUIEditor.button[10] = guiCreateButton(195, 78, 90, 27, "Teleportieren", false, GUIEditor.tab[2])
- end
- )
- addEventHandler("onClientRender", root,
- function()
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- dxDrawText("", 569, 382, 643, 423, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false)
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement