GUIEditor = {
button = {},
window = {},
radiobutton = {},
label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(181, 107, 447, 317, "Ammunation", false)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.button[1] = guiCreateButton(9, 26, 85, 38, "M4", false, GUIEditor.window[1])
GUIEditor.button[2] = guiCreateButton(9, 74, 85, 38, "AK47", false, GUIEditor.window[1])
GUIEditor.button[3] = guiCreateButton(9, 122, 85, 38, "MP5", false, GUIEditor.window[1])
GUIEditor.button[4] = guiCreateButton(10, 170, 85, 38, "Spaz-7", false, GUIEditor.window[1])
GUIEditor.button[5] = guiCreateButton(9, 218, 85, 38, "Deagle", false, GUIEditor.window[1])
GUIEditor.button[6] = guiCreateButton(9, 266, 85, 38, "Schutzweste", false, GUIEditor.window[1])
GUIEditor.label[1] = guiCreateLabel(104, 26, 325, 38, " 15 Magazine - 1900 Dollar", false, GUIEditor.window[1])
GUIEditor.label[2] = guiCreateLabel(104, 74, 325, 38, " 15 Magazine - 1750 Dollar", false, GUIEditor.window[1])
GUIEditor.label[3] = guiCreateLabel(104, 122, 325, 38, " 15 Magazine - 1500 Dollar", false, GUIEditor.window[1])
GUIEditor.label[4] = guiCreateLabel(105, 170, 325, 38, "15 Magazine - 1400 Dollar", false, GUIEditor.window[1])
GUIEditor.label[5] = guiCreateLabel(105, 218, 325, 38, "15 Magazine - 1950 Dollar", false, GUIEditor.window[1])
GUIEditor.label[6] = guiCreateLabel(104, 266, 175, 38, "1 Schutzweste - 100 Dollar", false, GUIEditor.window[1])
GUIEditor.radiobutton[1] = guiCreateRadioButton(419, -6536, 18, 600, "", false, GUIEditor.window[1])
GUIEditor.button[7] = guiCreateButton(9, 266, 85, 38, "Schutzweste", false, GUIEditor.window[1])
GUIEditor.button[8] = guiCreateButton(294, 266, 136, 38, "Abbrechen", false, GUIEditor.window[1])
end
)
Hey Leute,
Da ich grad an einen Selfmade arbeite und noch nicht viel Script erfahrung habe welche Functionen brauche ich das ein Marker Createt wird (creatMarker) und sich dann das Gui öffnet und wenn man z.B. auf Deagle Drückt 15 Schuss bekommt
Ich will nur die Funktionen da ich es Selber lernen will.
Danke im Vorraus