markerem = createMarker(2485.00000, -1667.00000, 13.34375, \'cylinder\', 2.0, 255, 0, 0, 150)function MarkerHit ( hitPlayer, matchingDimension )outputChatBox(\"Kiadja az ablakot akkor jรณ\")kep = guiCreateStaticImage( 510, 250, 250, 350, \"teszt.png\", false )kep3 = guiCreateStaticImage(0.520, 0.86, 0.28, 0.08, \"lekeres.png\", true, kep)addEventHandler(\"onClientGUIClick\", kep3, function()if source == kep3 thenoutputChatBox(\"KARACSONY\") end end)endshowCursor(true) kep2 = guiCreateStaticImage(0.200, 0.86, 0.28, 0.08, \"megse.png\", true, kep) addEventHandler(\"onClientGUIClick\", kep2, function() if source == kep2 then destroyElement(kep) showCursor(false) end end)end -------- ez a 20.soraddCommandHandler(\"k\", MarkerHit)addEventHandler ( \"onClientMarkerHit\", markerem, MarkerHit, tesztk )function tesztk()guiSetVisible(kep, true)end
markerem = createMarker(2485.00000, -1667.00000, 13.34375, \'cylinder\', 2.0, 255, 0, 0, 150)function MarkerHit ( hitPlayer, matchingDimension )outputChatBox(\"Kiadja az ablakot akkor jรณ\")kep = guiCreateStaticImage( 510, 250, 250, 350, \"teszt.png\", false )kep3 = guiCreateStaticImage(0.520, 0.86, 0.28, 0.08, \"lekeres.png\", true, kep)addEventHandler(\"onClientGUIClick\", kep3, function() if source == kep3 then outputChatBox(\"KARACSONY\") endend)showCursor(true)kep2 = guiCreateStaticImage(0.200, 0.86, 0.28, 0.08, \"megse.png\", true, kep)addEventHandler(\"onClientGUIClick\", kep2, function() if source == kep2 then destroyElement(kep) showCursor(false) endend)endaddEventHandler ( \"onClientMarkerHit\", markerem, MarkerHit, tesztk )function tesztk()guiSetVisible(kep, true)end
local megnyitva = falsefunction render ()if megnyitva == true then --A dx drawokendendaddEventHandler(\"onClientRender\",render)function valtoztatas ()megnyitva = not megnyitvaendaddEventHandler(\"valtoztatas\",valtoztatas)