How to add open command ?
GUIEditor = {
button = {},
window = {},
staticimage = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function ()
GUIEditor.window[1] = guiCreateWindow(214, 230, 600, 458, "*Взять оружие*", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 1.00)
GUIEditor.button[1] = guiCreateButton(22, 390, 191, 50, "Взять Glock 19", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[1], "clear-normal")
GUIEditor.button[2] = guiCreateButton(391, 390, 191, 50, "Взять KRISS Vector", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[2], "clear-normal")
GUIEditor.staticimage[1] = guiCreateStaticImage(39, 38, 520, 332, "Png/logo2.png", false, GUIEditor.window[1])
GUIEditor.button[3] = guiCreateButton(563, -78523, 15, 768, "", false, GUIEditor.window[1])
GUIEditor.button[4] = guiCreateButton(253, 406, 99, 24, "Закрыть", false, GUIEditor.window[1])
end