0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function onMarkerHIT ()addEventHandler("onClientRender", root, dxGui)endaddEventHandler("onClientMarkerHit", marker, onMarkerHIT) function onMarkerLeave ()removeEventHandler("onClientRender", root, dxGui)endaddEventHandler("onClientMarkerLeave", marker, onMarkerLeave)
local bR, bG, bB = 233, 144, 16 -- Window Bar Colorlocal alpha = 229 -- Window Bar Alphalocal tR, tG, tB = 255, 255, 255 -- Title Colorlocal serverRules = "* Don't Insult other players ! \n* Don't Adver for other server ! \n* No asking for admin/staff ! \n* Don't abuse bug otherwise you gonna be punished ! \n* Don't ask for money it annoying !"local sX, sY = guiGetScreenSize ()local pX, pY = sX/1280, sY/720local pickups = { {2002.3359375, -1451.5202636719, 13.5546875, 3, 1239, 0}, }local markers = { {2002.3359375, -1451.5202636719, 12.5546875, "cylinder", 0.5, 255, 0, 0, 0}, }--------------------------------------------------------------------for i, v in ipairs ( pickups ) do pickup = createPickup ( unpack ( v ) )endfor i, k in ipairs ( markers ) do marker = createMarker ( unpack ( k ) )endfunction dxGui () dxDrawRectangle(pX*327, pY*106, pX*713, pY*44, tocolor(bR, bG, bB, alpha), true) dxDrawRectangle(pX*337, pY*150, pX*693, pY*411, tocolor(0, 0, 0, 150), true) dxDrawText("Server Rules", pX*640 + 1, pY*113 + 1, pX*709 + 1, pY*140 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, false, true, true, false) dxDrawText("Server Rules", pX*640, pY*113, pX*709, pY*140, tocolor(tR, tG, tB, 255), 2.00, "default", "left", "top", true, false, true, true, false) dxDrawText(serverRules, pX*347, pY*160, pX*1020, pY*551, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false)endfunction onMarkerHIT ()addEventHandler("onClientRender", root, dxGui)endaddEventHandler("onClientMarkerHit", marker, onMarkerHIT)function onMarkerLeave ()removeEventHandler("onClientRender", root, dxGui)endaddEventHandler("onClientMarkerLeave", marker, onMarkerLeave)
local bR, bG, bB = 233, 144, 16 -- Window Bar Colorlocal alpha = 229 -- Window Bar Alphalocal tR, tG, tB = 255, 255, 255 -- Title Colorlocal serverRules = "* Don't Insult other players ! \n* Don't Adver for other server ! \n* No asking for admin/staff ! \n* Don't abuse bug otherwise you gonna be punished ! \n* Don't ask for money it annoying !"local sX, sY = guiGetScreenSize ()local pX, pY = sX/1280, sY/720local pickups = { {2002.3359375, -1451.5202636719, 13.5546875, 3, 1239, 0}, }local markers = { {2002.3359375, -1451.5202636719, 12.5546875, "cylinder", 0.5, 255, 0, 0, 0}, }--------------------------------------------------------------------for i, v in ipairs ( pickups ) do pickup = createPickup ( unpack ( v ) )endfor i, k in ipairs ( markers ) do marker = createMarker ( unpack ( k ) )endfunction dxGui () dxDrawRectangle(pX*327, pY*106, pX*713, pY*44, tocolor(bR, bG, bB, alpha), true) dxDrawRectangle(pX*337, pY*150, pX*693, pY*411, tocolor(0, 0, 0, 150), true) dxDrawText("Server Rules", pX*640 + 1, pY*113 + 1, pX*709 + 1, pY*140 + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, false, true, true, false) dxDrawText("Server Rules", pX*640, pY*113, pX*709, pY*140, tocolor(tR, tG, tB, 255), 2.00, "default", "left", "top", true, false, true, true, false) dxDrawText(serverRules, pX*347, pY*160, pX*1020, pY*551, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false)endfunction onMarkerHIT ()addEventHandler("onClientRender", localPlayer, dxGui)endaddEventHandler("onClientMarkerHit", markers, onMarkerHIT)function onMarkerLeave ()removeEventHandler("onClientRender", localPlayer, dxGui)endaddEventHandler("onClientMarkerLeave", markers, onMarkerLeave)
su an banada bir panel açılmadı
function onMarkerHIT (giren) if giren == localPlayer then addEventHandler("onClientRender", root, dxGui) end endaddEventHandler("onClientMarkerHit", marker, onMarkerHIT)
function onMarkerLeave (cikan)if cikan == localPlayer then removeEventHandler("onClientRender", localPlayer, dxGui) endendaddEventHandler("onClientMarkerLeave", markers, onMarkerLeave)
function onMarkerLeave (cikan)if cikan == localPlayer then removeEventHandler("onClientRender", root, dxGui) endendaddEventHandler("onClientMarkerLeave", markers, onMarkerLeave)
function onMarkerLeave (cikan)if cikan == localPlayer then removeEventHandler("onClientRender", root, dxGui)end endaddEventHandler("onClientMarkerLeave", marker, onMarkerLeave)