الكودات GUIEditor = {
scrollpane = {},
label = {},
edit = {},
button = {},
window = {},
scrollbar = {},
gridlist = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
local screenW, screenH = guiGetScreenSize()
GUIEditor.window[1] = guiCreateWindow((screenW - 549) / 2, (screenH - 685) / 2, 549, 685, "M.Z/ Send Weapon |By: MR!!MobD3", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 1.00)
GUIEditor.gridlist[1] = guiCreateGridList(10, 52, 229, 517, false, GUIEditor.window[1])
guiGridListAddColumn(GUIEditor.gridlist[1], "Players..", 0.9)
GUIEditor.gridlist[2] = guiCreateGridList(310, 52, 229, 517, false, GUIEditor.window[1])
guiGridListAddColumn(GUIEditor.gridlist[2], "Weapons", 0.5)
guiGridListAddColumn(GUIEditor.gridlist[2], "Ammo", 0.5)
GUIEditor.scrollbar[1] = guiCreateScrollBar(12, 491, 135, 35, false, false, GUIEditor.gridlist[2])
GUIEditor.scrollpane[1] = guiCreateScrollPane(-142, 544, 153, 28, false, GUIEditor.gridlist[2])
GUIEditor.scrollbar[2] = guiCreateScrollBar(21, 491, 189, 18, true, false, GUIEditor.gridlist[2])
GUIEditor.label[1] = guiCreateLabel(-30, 26, 136, 26, "Players", false, GUIEditor.window[1])
guiLabelSetColor(GUIEditor.label[1], 64, 246,
guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
guiLabelSetVerticalAlign(GUIEditor.label[1], "center")
GUIEditor.label[2] = guiCreateLabel(329, 26, 136, 26, "Your Weapons", false, GUIEditor.window[1])
guiLabelSetColor(GUIEditor.label[2], 11, 103, 242)
guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false)
guiLabelSetVerticalAlign(GUIEditor.label[2], "center")
GUIEditor.edit[1] = guiCreateEdit(193, 585, 176, 33, "Ammo.", false, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(10, 643, 204, 32, "Send Weapon", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFBE00FC")
GUIEditor.button[2] = guiCreateButton(471, 635, 68, 40, "X", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFE50000")
end
)
تم حبي