GUIEditor = {
button = {},
window = {},
staticimage = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[3] = guiCreateWindow(264, 308, 834, 320, "Waffenschop", false)
guiWindowSetSizable(GUIEditor.window[3], false)
guiSetVisible(GUIEditor.window[3], false)
GUIEditor.staticimage[29] = guiCreateStaticImage(17, 29, 92, 87, ":dxHud/files/weapons/1.png", false, GUIEditor.window[3])
GUIEditor.button[29] = guiCreateButton(18, 121, 91, 34, "Schlagring 1 | 40€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[29], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[30] = guiCreateStaticImage(129, 29, 87, 87, ":dxHud/files/weapons/4.png", false, GUIEditor.window[3])
GUIEditor.button[30] = guiCreateButton(129, 121, 87, 34, "Messer 1 | 60€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[30], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[31] = guiCreateStaticImage(233, 29, 83, 87, ":dxHud/files/weapons/5.png", false, GUIEditor.window[3])
GUIEditor.button[31] = guiCreateButton(233, 119, 83, 36, "Baseballschläger 1 | 50€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[31], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[32] = guiCreateStaticImage(332, 29, 83, 87, ":dxHud/files/weapons/22.png", false, GUIEditor.window[3])
GUIEditor.button[32] = guiCreateButton(332, 119, 83, 36, "Colt 34 | 75€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[32], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[33] = guiCreateStaticImage(436, 29, 88, 87, ":dxHud/files/weapons/24.png", false, GUIEditor.window[3])
GUIEditor.button[33] = guiCreateButton(436, 119, 88, 36, "Deagle 21 | 150€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[33], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[34] = guiCreateStaticImage(540, 29, 77, 87, ":dxHud/files/weapons/25.png", false, GUIEditor.window[3])
GUIEditor.button[34] = guiCreateButton(540, 117, 77, 38, "Shotgun 10 | 240€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[34], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[35] = guiCreateStaticImage(635, 30, 80, 86, ":dxHud/files/weapons/26.png", false, GUIEditor.window[3])
GUIEditor.button[35] = guiCreateButton(635, 117, 80, 38, "Spawnoff 16 | 230€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[35], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[36] = guiCreateStaticImage(20, 179, 89, 93, ":dxHud/files/weapons/27.png", false, GUIEditor.window[3])
GUIEditor.button[36] = guiCreateButton(20, 272, 89, 36, "Combat 16 | 230€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[36], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[37] = guiCreateStaticImage(119, 179, 97, 93, ":dxHud/files/weapons/28.png", false, GUIEditor.window[3])
GUIEditor.button[37] = guiCreateButton(121, 272, 95, 36, "Uzi 200 | 425€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[37], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[38] = guiCreateStaticImage(233, 179, 83, 93, ":dxHud/files/weapons/29.png", false, GUIEditor.window[3])
GUIEditor.button[38] = guiCreateButton(233, 272, 83, 36, "MP5 120 | 1125€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[38], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[39] = guiCreateStaticImage(331, 179, 84, 93, ":dxHud/files/weapons/30.png", false, GUIEditor.window[3])
GUIEditor.button[39] = guiCreateButton(332, 272, 83, 36, "AK47 200 | 1250€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[39], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[40] = guiCreateStaticImage(437, 179, 87, 92, ":dxHud/files/weapons/31.png", false, GUIEditor.window[3])
GUIEditor.button[40] = guiCreateButton(438, 271, 86, 37, "M4 200 | 1250€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[40], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[41] = guiCreateStaticImage(540, 180, 77, 91, ":dxHud/files/weapons/33.png", false, GUIEditor.window[3])
GUIEditor.button[41] = guiCreateButton(541, 272, 76, 36, "Rifle 15 | 1350€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[41], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[42] = guiCreateStaticImage(635, 180, 80, 91, ":dxHud/files/weapons/34.png", false, GUIEditor.window[3])
GUIEditor.button[42] = guiCreateButton(635, 272, 80, 36, "Sniper 5 | 5000€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[42], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[43] = guiCreateStaticImage(725, 30, 85, 86, ":dxHud/files/icons/armor.png", false, GUIEditor.window[3])
GUIEditor.button[43] = guiCreateButton(725, 117, 85, 38, "Schutzweste 1 | 30€", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[43], "NormalTextColour", "FFAAAAAA")
GUIEditor.button[44] = guiCreateButton(727, 222, 93, 35, "Schließen", false, GUIEditor.window[3])
guiSetProperty(GUIEditor.button[44], "NormalTextColour", "FFAAAAAA")
end
)
function OpenGangAMMU(player)
guiSetVisible(GUIEditor.window[3], true)
showCursor(true)
end
addEvent("xxx123", true)
addEventHandler("xxx123", getRootElement(), OpenGangAMMU)
--addCommandHandler("ammu_gang", OpenGangAMMU)
addEventHandler("onClientGUIClick", GUIEditor.button[44], function(),
guiSetVisible(GUIEditor.window3, false)
showCursor(false)
end)
Alles anzeigen