Your Code , is very Messy Forgive me if i forgot anything , or it didn't work becuase i dont know what is the inside marker and outside marker and the buy marker . .
there is 7 markers !
--ClientSide,
GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, button = {}, window = {} } function makeGui ( ) showCursor ( true ) GUIEditor.window[1] = guiCreateWindow(270, 100, 800, 600, "Ammunation", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.staticimage[1] = guiCreateStaticImage(130, 40, 500, 500, ":ammunation/files/mira.png", false, GUIEditor.window[1]) GUIEditor.tabpanel[1] = guiCreateTabPanel(25, 20, 750, 565, false, GUIEditor.window[1]) guiSetAlpha(GUIEditor.tabpanel[1], 0.90) guiSetAlpha(GUIEditor.staticimage[1], 0.99) GUIEditor.tab[1] = guiCreateTab("Armas", GUIEditor.tabpanel[1]) GUIEditor.staticimage[15] = guiCreateStaticImage(50, 50, 100, 100, ":ammunation/files/8.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[16] = guiCreateStaticImage(190, 380, 100, 100, ":ammunation/files/2.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[17] = guiCreateStaticImage(330, 215, 100, 100, ":ammunation/files/11.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[18] = guiCreateStaticImage(470, 50, 100, 100, ":ammunation/files/5.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[19] = guiCreateStaticImage(610, 50, 100, 100, ":ammunation/files/6.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[20] = guiCreateStaticImage(50, 215, 100, 100, ":ammunation/files/9.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[21] = guiCreateStaticImage(50, 380, 100, 100, ":ammunation/files/10.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[22] = guiCreateStaticImage(190, 50, 100, 100, ":ammunation/files/4.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[24] = guiCreateStaticImage(190, 215, 100, 100, ":ammunation/files/1.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[25] = guiCreateStaticImage(330, 50, 100, 100, ":ammunation/files/12.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[26] = guiCreateStaticImage(330, 380, 100, 100, ":ammunation/files/13.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[27] = guiCreateStaticImage(470, 215, 100, 100, ":ammunation/files/7.png", false, GUIEditor.tab[1]) GUIEditor.staticimage[23] = guiCreateStaticImage(610, 215, 100, 100, ":ammunation/files/3.png", false, GUIEditor.tab[1]) b1 = guiCreateButton(50, 155, 100, 50, "Pistol", false, GUIEditor.tab[1]) guiSetProperty(b1, "NormalTextColour", "FFFFFFFF") b2 = guiCreateButton(190, 155, 100, 50, "Shotgun", false, GUIEditor.tab[1]) guiSetProperty(b2, "NormalTextColour", "FFFFFFFF") b3 = guiCreateButton(330, 155, 100, 50, "Uzi", false, GUIEditor.tab[1]) guiSetProperty(b3, "NormalTextColour", "FFFFFFFF") b4 = guiCreateButton(470, 155, 100, 50, "M4", false, GUIEditor.tab[1]) guiSetProperty(b4, "NormalTextColour", "FFFFFFFF") b5 = guiCreateButton(610, 155, 100, 50, "Sniper Rifle", false, GUIEditor.tab[1]) guiSetProperty(b5, "NormalTextColour", "FFFFFFFF") b6 = guiCreateButton(50, 320, 100, 50, "Silenced Pistol", false, GUIEditor.tab[1]) guiSetProperty(b6, "NormalTextColour", "FFFFFFFF") b7 = guiCreateButton(190, 320, 100, 50, "SPAZ-12 Combat", false, GUIEditor.tab[1]) guiSetProperty(b7, "NormalTextColour", "FFFFFFFF") b8 = guiCreateButton(330, 320, 100, 50, "TEC-9", false, GUIEditor.tab[1]) guiSetProperty(b8, "NormalTextColour", "FFFFFFFF") b9 = guiCreateButton(470, 320, 100, 50, "AK-47", false, GUIEditor.tab[1]) guiSetProperty(b9, "NormalTextColour", "FFFFFFFF") b10 = guiCreateButton(610, 320, 100, 50, "Country Rifle", false, GUIEditor.tab[1]) guiSetProperty(b10, "NormalTextColour", "FFFFFFFF") b11 = guiCreateButton(50, 480, 100, 50, "Desert Eagle", false, GUIEditor.tab[1]) guiSetProperty(b11, "NormalTextColour", "FFFFFFFF") b12 = guiCreateButton(190, 480, 100, 50, "Sawn-Off", false, GUIEditor.tab[1]) guiSetProperty(b12, "NormalTextColour", "FFFFFFFF") b13 = guiCreateButton(330, 480, 100, 50, "MP5", false, GUIEditor.tab[1]) guiSetProperty(b13, "NormalTextColour", "FFFFFFFF") GUIEditor.button[15] = guiCreateButton(50, 15, 100, 35, "HandGuns", false, GUIEditor.tab[1]) guiSetProperty(GUIEditor.button[15], "NormalTextColour", "FFFFFFFF") GUIEditor.button[16] = guiCreateButton(190, 15, 100, 35, "ShotGuns", false, GUIEditor.tab[1]) guiSetProperty(GUIEditor.button[16], "NormalTextColour", "FFFFFFFF") GUIEditor.button[17] = guiCreateButton(330, 15, 100, 35, "Sub-Machine", false, GUIEditor.tab[1]) guiSetProperty(GUIEditor.button[17], "NormalTextColour", "FFFFFFFF") GUIEditor.button[18] = guiCreateButton(470, 15, 100, 35, "Assault Rifles", false, GUIEditor.tab[1]) guiSetProperty(GUIEditor.button[18], "NormalTextColour", "FFFFFFFF") GUIEditor.button[19] = guiCreateButton(610, 15, 100, 35, "Rifles", false, GUIEditor.tab[1]) guiSetProperty(GUIEditor.button[19], "NormalTextColour", "FFFFFFFF") GUIEditor.button[20] = guiCreateButton(630, 475, 100, 50, "Sair", false, GUIEditor.tab[1]) guiSetProperty(GUIEditor.button[20], "NormalTextColour", "FFFF0000") GUIEditor.tab[2] = guiCreateTab("Equipamentos", GUIEditor.tabpanel[1]) GUIEditor.staticimage[13] = guiCreateStaticImage(50, 50, 100, 100, ":ammunation/files/colete.png", false, GUIEditor.tab[2]) GUIEditor.staticimage[14] = guiCreateStaticImage(190, 45, 110, 110, ":ammunation/files/16.png", false, GUIEditor.tab[2]) GUIEditor.button[7] = guiCreateButton(50, 10, 100, 35, "Colete", false, GUIEditor.tab[2]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFFFFFFF") GUIEditor.button[8] = guiCreateButton(190, 10, 100, 35, "Paraquedas", false, GUIEditor.tab[2]) guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFFFFFFF") GUIEditor.button[9] = guiCreateButton(50, 155, 100, 50, "Comprar", false, GUIEditor.tab[2]) guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFFFFFFF") GUIEditor.button[10] = guiCreateButton(190, 155, 100, 50, "Comprar", false, GUIEditor.tab[2]) guiSetProperty(GUIEditor.button[10], "NormalTextColour", "FFFFFFFF") GUIEditor.button[11] = guiCreateButton(630, 475, 100, 50, "Sair", false, GUIEditor.tab[2]) guiSetProperty(GUIEditor.button[11], "NormalTextColour", "FFFF0000") guiSetVisible ( GUIEditor.window[1], false ) end addEventHandler("onClientRender", root, function() dxDrawRectangle(466, 207, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("", 488, 217, 488, 217, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(466, 207, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("", 488, 217, 488, 217, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(466, 207, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("", 488, 217, 488, 217, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(466, 207, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("", 488, 217, 488, 217, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(466, 207, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("", 488, 217, 488, 217, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(466, 207, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("", 488, 217, 488, 217, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, true, false, false) end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b1 ) then triggerServerEvent("pistol",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b2 ) then triggerServerEvent("shotgun",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b3 ) then triggerServerEvent("uzi",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b4 ) then triggerServerEvent("m4",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b5 ) then triggerServerEvent("sniper",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b6 ) then triggerServerEvent("spistol",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b7 ) then triggerServerEvent("combat",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b8 ) then triggerServerEvent("tec",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b9 ) then triggerServerEvent("ak",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b10 ) then triggerServerEvent("country",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == b11 ) then triggerServerEvent("eagle",getLocalPlayer()) end end