Jump to content

King021

Members
  • Posts

    15
  • Joined

  • Last visited

About King021

  • Birthday 20/07/2005

Details

  • Gang
    Tropa do Galo
  • Location
    Brasil
  • Occupation
    Jogando
  • Interests
    Programacao

Recent Profile Visitors

232 profile views

King021's Achievements

Square

Square (6/54)

0

Reputation

  1. é eu acabei percebendo quando fui tentar fazer,agora tipo quero fazer pra quando eu passar o mouse por cima dos botao ficar branco sabe? os botao seria o dxDrawnRectangle, Tbm queria saber como faço pra quando eu clicar na funçao ela trocar de cor exemplo MODO DEUS OFF ai quando clicar fica verde e MODO DEUS ON
  2. Quero deixar meu painel dx em modo rainbow ou fazer tipo uma opcao pra ficar trocando de cor tipo aqueles teclado da razer tlg Meu DX (Tem mais de 1 aba) function PainelKing () if aba == "aba1" then dxDrawLine((screenW * 0.7839) - 1, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.7839) - 1, screenH * 0.9704, screenW * 0.9589, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9704, screenW * 0.9589, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.6759, tocolor(0, 0, 0, 202), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.3074, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawText("TROPA DO JURAMENTO", screenW * 0.7839, screenH * 0.2935, screenW * 0.9589, screenH * 0.3046, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawImage(screenW * 0.7891, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(screenW * 0.9453, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.3833, screenW * 0.9396, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.3833, screenW * 0.9396, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3250, screenW * 0.1323, screenH * 0.0583, tocolor(255, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.4574, screenW * 0.9396, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.4574, screenW * 0.9396, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3991, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.5361, screenW * 0.9396, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.5361, screenW * 0.9396, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.4778, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6130, screenW * 0.9396, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6130, screenW * 0.9396, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.5546, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6898, screenW * 0.9396, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6898, screenW * 0.9396, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.7704, screenW * 0.9396, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.7704, screenW * 0.9396, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7120, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.8546, screenW * 0.9396, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.8546, screenW * 0.9396, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7963, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.9333, screenW * 0.9396, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.9333, screenW * 0.9396, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.8750, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9611, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9481, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawText("By-King021", screenW * 0.7839, screenH * 0.9491, screenW * 0.9589, screenH * 0.9602, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawText("Player", screenW * 0.8089, screenH * 0.3278, screenW * 0.9370, screenH * 0.3787, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Armas", screenW * 0.8073, screenH * 0.4028, screenW * 0.9354, screenH * 0.4537, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Veiculos", screenW * 0.8094, screenH * 0.4815, screenW * 0.9375, screenH * 0.5324, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Teleporte", screenW * 0.8094, screenH * 0.5583, screenW * 0.9375, screenH * 0.6093, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("God Mod", screenW * 0.8094, screenH * 0.6352, screenW * 0.9375, screenH * 0.6861, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Virar admin", screenW * 0.8094, screenH * 0.7157, screenW * 0.9375, screenH * 0.7667, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Anuncio", screenW * 0.8094, screenH * 0.8000, screenW * 0.9375, screenH * 0.8509, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Explodir todos os veiculos", screenW * 0.8094, screenH * 0.8787, screenW * 0.9375, screenH * 0.9296, tocolor(255, 255, 255, 255), 0.80, "pricedown", "center", "center", false, false, false, false, false)
  3. Meu botao close nao funicona,ele nao volta pra aba principal e nao fecha o painel. local screenW, screenH = guiGetScreenSize() local x, y = (screenW/1440), (screenH/900) painel = false aba = nil --Dx feito no GuiEditor-- function PainelKing () if aba == "aba1" then dxDrawLine((screenW * 0.7839) - 1, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.7839) - 1, screenH * 0.9704, screenW * 0.9589, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9704, screenW * 0.9589, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.6759, tocolor(0, 0, 0, 202), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.3074, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawText("TROPA DO GALO", screenW * 0.7839, screenH * 0.2935, screenW * 0.9589, screenH * 0.3046, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawImage(screenW * 0.7891, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(screenW * 0.9453, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.3833, screenW * 0.9396, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.3833, screenW * 0.9396, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3250, screenW * 0.1323, screenH * 0.0583, tocolor(255, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.4574, screenW * 0.9396, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.4574, screenW * 0.9396, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3991, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.5361, screenW * 0.9396, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.5361, screenW * 0.9396, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.4778, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6130, screenW * 0.9396, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6130, screenW * 0.9396, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.5546, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6898, screenW * 0.9396, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6898, screenW * 0.9396, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.7704, screenW * 0.9396, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.7704, screenW * 0.9396, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7120, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.8546, screenW * 0.9396, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.8546, screenW * 0.9396, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7963, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.9333, screenW * 0.9396, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.9333, screenW * 0.9396, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.8750, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9611, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9481, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawText("By-King021 e Garcia", screenW * 0.7839, screenH * 0.9491, screenW * 0.9589, screenH * 0.9602, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawText("Player", screenW * 0.8089, screenH * 0.3278, screenW * 0.9370, screenH * 0.3787, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Armas", screenW * 0.8073, screenH * 0.4028, screenW * 0.9354, screenH * 0.4537, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Veiculos", screenW * 0.8094, screenH * 0.4815, screenW * 0.9375, screenH * 0.5324, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Teleporte", screenW * 0.8094, screenH * 0.5583, screenW * 0.9375, screenH * 0.6093, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("PVP", screenW * 0.8094, screenH * 0.6352, screenW * 0.9375, screenH * 0.6861, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Virar admin", screenW * 0.8094, screenH * 0.7157, screenW * 0.9375, screenH * 0.7667, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Anuncio", screenW * 0.8094, screenH * 0.8000, screenW * 0.9375, screenH * 0.8509, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Explodir todos os veiculos", screenW * 0.8094, screenH * 0.8787, screenW * 0.9375, screenH * 0.9296, tocolor(255, 255, 255, 255), 0.80, "pricedown", "center", "center", false, false, false, false, false) elseif aba == "aba2" then dxDrawLine((screenW * 0.7833) - 1, (screenH * 0.2944) - 1, (screenW * 0.7833) - 1, screenH * 0.9676, tocolor(143, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, (screenH * 0.2944) - 1, (screenW * 0.7833) - 1, (screenH * 0.2944) - 1, tocolor(143, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7833) - 1, screenH * 0.9676, screenW * 0.9583, screenH * 0.9676, tocolor(143, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, screenH * 0.9676, screenW * 0.9583, (screenH * 0.2944) - 1, tocolor(143, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7833, screenH * 0.2944, screenW * 0.1750, screenH * 0.6731, tocolor(1, 0, 0, 170), false) dxDrawRectangle(screenW * 0.7833, screenH * 0.2944, screenW * 0.1750, screenH * 0.0176, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7833, screenH * 0.3120, screenW * 0.1750, screenH * 0.0093, tocolor(255, 3, 3, 254), false) dxDrawText("PLAYER", screenW * 0.7828, screenH * 0.2935, screenW * 0.9583, screenH * 0.3120, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawRectangle(screenW * 0.7833, screenH * 0.9583, screenW * 0.1750, screenH * 0.0093, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.3343) - 1, (screenW * 0.8042) - 1, screenH * 0.3907, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.3343) - 1, (screenW * 0.8042) - 1, (screenH * 0.3343) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.3907, screenW * 0.9365, screenH * 0.3907, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.3907, screenW * 0.9365, (screenH * 0.3343) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.3343, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.6009) - 1, (screenW * 0.8042) - 1, screenH * 0.6574, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.6009) - 1, (screenW * 0.8042) - 1, (screenH * 0.6009) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.6574, screenW * 0.9365, screenH * 0.6574, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.6574, screenW * 0.9365, (screenH * 0.6009) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.6009, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.5102) - 1, (screenW * 0.8042) - 1, screenH * 0.5667, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.5102) - 1, (screenW * 0.8042) - 1, (screenH * 0.5102) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.5667, screenW * 0.9365, screenH * 0.5667, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.5667, screenW * 0.9365, (screenH * 0.5102) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.5102, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.4204) - 1, (screenW * 0.8042) - 1, screenH * 0.4769, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.4204) - 1, (screenW * 0.8042) - 1, (screenH * 0.4204) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.4769, screenW * 0.9365, screenH * 0.4769, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.4769, screenW * 0.9365, (screenH * 0.4204) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.4204, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.7778) - 1, (screenW * 0.8042) - 1, screenH * 0.8343, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.7778) - 1, (screenW * 0.8042) - 1, (screenH * 0.7778) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.8343, screenW * 0.9365, screenH * 0.8343, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.8343, screenW * 0.9365, (screenH * 0.7778) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.7778, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.6907) - 1, (screenW * 0.8042) - 1, screenH * 0.7472, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.6907) - 1, (screenW * 0.8042) - 1, (screenH * 0.6907) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.7472, screenW * 0.9365, screenH * 0.7472, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.7472, screenW * 0.9365, (screenH * 0.6907) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.6907, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.8565) - 1, (screenW * 0.8042) - 1, screenH * 0.9130, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.8565) - 1, (screenW * 0.8042) - 1, (screenH * 0.8565) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.9130, screenW * 0.9365, screenH * 0.9130, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.9130, screenW * 0.9365, (screenH * 0.8565) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.8565, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawText("TROPA DO GALO", screenW * 0.7833, screenH * 0.9398, screenW * 0.9589, screenH * 0.9583, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("invisivel", screenW * 0.8042, screenH * 0.3333, screenW * 0.9344, screenH * 0.3907, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Dinheiro pra todos", screenW * 0.8042, screenH * 0.6907, screenW * 0.9344, screenH * 0.7481, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Dinheiro ", screenW * 0.8042, screenH * 0.6000, screenW * 0.9344, screenH * 0.6574, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Voar", screenW * 0.8042, screenH * 0.5093, screenW * 0.9344, screenH * 0.5667, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Trocar Skin", screenW * 0.8042, screenH * 0.4204, screenW * 0.9344, screenH * 0.4778, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Colete", screenW * 0.8042, screenH * 0.8565, screenW * 0.9344, screenH * 0.9139, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Vida", screenW * 0.8042, screenH * 0.7769, screenW * 0.9344, screenH * 0.8343, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false)-- body elseif aba == "aba3" then dxDrawLine((screenW * 0.7823) - 1, (screenH * 0.2917) - 1, (screenW * 0.7823) - 1, screenH * 0.9657, tocolor(223, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, (screenH * 0.2917) - 1, (screenW * 0.7823) - 1, (screenH * 0.2917) - 1, tocolor(223, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7823) - 1, screenH * 0.9657, screenW * 0.9583, screenH * 0.9657, tocolor(223, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, screenH * 0.9657, screenW * 0.9583, (screenH * 0.2917) - 1, tocolor(223, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7823, screenH * 0.2917, screenW * 0.1760, screenH * 0.6741, tocolor(0, 0, 0, 196), false) dxDrawRectangle(screenW * 0.7823, screenH * 0.2917, screenW * 0.1755, screenH * 0.0148, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.3065, screenW * 0.1750, screenH * 0.0093, tocolor(213, 0, 0, 254), false) dxDrawText("Veiculos", screenW * 0.7823, screenH * 0.2917, screenW * 0.9578, screenH * 0.3065, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Para Criar Veiculos\n/veh ID ou NOME", screenW * 0.7932, screenH * 0.3269, screenW * 0.9505, screenH * 0.3861, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Destruir Veiculos\n/dv ", screenW * 0.7932, screenH * 0.5704, screenW * 0.9505, screenH * 0.6296, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Spawnar dentro Veiculos\n/vx ID ou NOME", screenW * 0.7932, screenH * 0.4426, screenW * 0.9505, screenH * 0.5019, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Troca Veiculos dentro dele\n/cv", screenW * 0.7932, screenH * 0.7111, screenW * 0.9505, screenH * 0.7704, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Trocar cor Veiculos\n/cc", screenW * 0.7932, screenH * 0.8417, screenW * 0.9505, screenH * 0.9009, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) elseif aba == "aba4" then dxDrawLine((screenW * 0.7828) - 1, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7828) - 1, screenH * 0.9676, screenW * 0.9589, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9676, screenW * 0.9589, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.6741, tocolor(1, 0, 0, 209), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.0185, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.3120, screenW * 0.1760, screenH * 0.0093, tocolor(193, 0, 0, 254), false) dxDrawText("ARMAS", screenW * 0.7828, screenH * 0.2935, screenW * 0.9573, screenH * 0.3120, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.3972, screenW * 0.9359, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.3972, screenW * 0.9359, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.3370, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.4750, screenW * 0.9359, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.4750, screenW * 0.9359, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4148, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.5583, screenW * 0.9359, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.5583, screenW * 0.9359, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4981, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.5833) - 1, (screenW * 0.8052) - 1, screenH * 0.6435, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.5833) - 1, (screenW * 0.8052) - 1, (screenH * 0.5833) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.6435, screenW * 0.9359, screenH * 0.6435, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.6435, screenW * 0.9359, (screenH * 0.5833) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.5833, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawText("Pegar Minigun", screenW * 0.8047, screenH * 0.3380, screenW * 0.9359, screenH * 0.3880, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Bazuca", screenW * 0.8047, screenH * 0.4157, screenW * 0.9359, screenH * 0.4657, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Bazuca2", screenW * 0.8052, screenH * 0.5028, screenW * 0.9365, screenH * 0.5528, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Lanca-Chamas", screenW * 0.8052, screenH * 0.5843, screenW * 0.9365, screenH * 0.6343, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Outras armas\n/givearmas NOME", screenW * 0.8000, screenH * 0.6907, screenW * 0.9432, screenH * 0.7870, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) elseif aba == "aba5" then dxDrawLine((screenW * 0.7828) - 1, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7828) - 1, screenH * 0.9676, screenW * 0.9589, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9676, screenW * 0.9589, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.6741, tocolor(1, 0, 0, 209), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.0185, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.3120, screenW * 0.1760, screenH * 0.0093, tocolor(193, 0, 0, 254), false) dxDrawText("TELEPORTE", screenW * 0.7828, screenH * 0.2935, screenW * 0.9573, screenH * 0.3120, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.3972, screenW * 0.9359, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.3972, screenW * 0.9359, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.3370, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.4750, screenW * 0.9359, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.4750, screenW * 0.9359, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4148, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.5583, screenW * 0.9359, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.5583, screenW * 0.9359, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4981, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawText("TP ID", screenW * 0.8047, screenH * 0.3380, screenW * 0.9359, screenH * 0.3880, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Puxar ID", screenW * 0.8047, screenH * 0.4157, screenW * 0.9359, screenH * 0.4657, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Puxar todos", screenW * 0.8052, screenH * 0.5028, screenW * 0.9365, screenH * 0.5528, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) end end --- ---Funçao para abrir e fechar o painel clicando no (Pode alterar a key!) function buttonClose() print("Function acionada") if painel == true then aba = "aba1" print("Aba = "..aba) end end bindKey('backspace', "down" , buttonClose) --- function AbrirPainel () if painel == false then addEventHandler ( "onClientRender", root, PainelKing ) painel = true aba = "aba1" showCursor ( true ) else removeEventHandler ( "onClientRender", root, PainelKing ) painel = false showCursor ( false ) end end addCommandHandler ( "tdgstaff", AbrirPainel) --- function clickPainel1(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.3250, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba2" painel = false end end end addEventHandler("onClientClick", root, clickPainel1) ---- function clickPainel2(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.4778, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba3" painel = false end end end addEventHandler("onClientClick", root, clickPainel2) --- function clickPainel3(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.3991, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba4" painel = false end end end addEventHandler("onClientClick", root, clickPainel3) --- function clickPainel4(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.5546, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba5" painel = false end end end addEventHandler("onClientClick", root, clickPainel4) ---Funçao para quando clicar no botao---- function Botao1 (_,state) if painel == true then if state == "down" then if isCursorOnElement ( screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583 ) then outputChatBox("Tropa do Galo", root, 255, 255, 255, true) end end end end addEventHandler ("onClientClick", root, Botao1 ) --- function Botao2 (_,state) if painel == false and aba == "aba2" then if state == "down" then if isCursorOnElement ( screenW * 0.8042, screenH * 0.3343, screenW * 0.1323, screenH * 0.0565 ) then triggerServerEvent("ficarInvisivel", localPlayer) aba = "aba2" painel = false end end end end addEventHandler ("onClientClick", root, Botao2 ) --- function Botao3 (_,state) if painel == true then if state == "down" then if isCursorOnElement ( 0.8042, screenH * 0.3343, screenW * 0.1323, screenH * 0.0565 ) then outputChatBox ("") end end end end addEventHandler ("onClientClick", root, Botao3 ) --- function isCursorOnElement ( x, y, w, h ) local mx, my = getCursorPosition () local fullx, fully = guiGetScreenSize () cursorx, cursory = mx*fullx, my*fully if cursorx > x and cursorx < x + w and cursory > y and cursory < y + h then return true else return false end end
  4. mano desculpaa veio eu peguei algumas coisas da net ai n olho pq quero terminar o painel ai dps boto os script desculpa essa porra parece mesmo um mod menu kkkk. vou comecar a olhar antes de bota no painel.mano eu to com uma cara de cu agr dps q vi os bgl de invasao etc
  5. manoooooooooo. agr q eu vi o outputchatBox kkkkkkkkkk pqp foi mal eu tinha pegado esse script e so trocado os nome,antes tava assim.ai eu nem prestei atencao so tirei o CONEXAO VIDA ROLEPLAY pro nome do meu PAINEL kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk krl pqp agr q eu vi parece mt msm um mod menu essa porra. outputChatBox ("Conta '"..accountName.."'Server Hackeado com sucesso CONEXAO VIDA ROLEPLAY", playerSource) meee agr q eu vi mano n tinha prestado atencao so queria termina o visual do painel e nem liguei pra esse script kkkk. ta cheio de bug resolvi mano era so uns bgl trocado krllllllllllllllllll nem vi foi maaaaaaaal mano pqp kkkkkkkkkkk minha cara agr
  6. kkk nao é mano esse script e pra setar pessoa nova que vai entrar na staff,peguei da net esse script ajuda ai
  7. local screenW, screenH = guiGetScreenSize() local x, y = (screenW/1440), (screenH/900) painel = false aba = nil --Dx feito no GuiEditor-- function PainelKing () if aba == "aba1" then dxDrawLine((screenW * 0.7839) - 1, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.7839) - 1, screenH * 0.9704, screenW * 0.9589, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9704, screenW * 0.9589, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.6759, tocolor(0, 0, 0, 202), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.3074, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawText("TROPA DO GALO", screenW * 0.7839, screenH * 0.2935, screenW * 0.9589, screenH * 0.3046, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawImage(screenW * 0.7891, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(screenW * 0.9453, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.3833, screenW * 0.9396, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.3833, screenW * 0.9396, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3250, screenW * 0.1323, screenH * 0.0583, tocolor(255, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.4574, screenW * 0.9396, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.4574, screenW * 0.9396, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3991, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.5361, screenW * 0.9396, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.5361, screenW * 0.9396, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.4778, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6130, screenW * 0.9396, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6130, screenW * 0.9396, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.5546, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6898, screenW * 0.9396, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6898, screenW * 0.9396, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.7704, screenW * 0.9396, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.7704, screenW * 0.9396, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7120, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.8546, screenW * 0.9396, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.8546, screenW * 0.9396, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7963, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.9333, screenW * 0.9396, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.9333, screenW * 0.9396, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.8750, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9611, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9481, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawText("By-King021 e Garcia", screenW * 0.7839, screenH * 0.9491, screenW * 0.9589, screenH * 0.9602, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawText("Player", screenW * 0.8089, screenH * 0.3278, screenW * 0.9370, screenH * 0.3787, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Armas", screenW * 0.8073, screenH * 0.4028, screenW * 0.9354, screenH * 0.4537, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Veiculos", screenW * 0.8094, screenH * 0.4815, screenW * 0.9375, screenH * 0.5324, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Teleporte", screenW * 0.8094, screenH * 0.5583, screenW * 0.9375, screenH * 0.6093, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("PVP", screenW * 0.8094, screenH * 0.6352, screenW * 0.9375, screenH * 0.6861, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Virar admin", screenW * 0.8094, screenH * 0.7157, screenW * 0.9375, screenH * 0.7667, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Anuncio", screenW * 0.8094, screenH * 0.8000, screenW * 0.9375, screenH * 0.8509, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Explodir todos os veiculos", screenW * 0.8094, screenH * 0.8787, screenW * 0.9375, screenH * 0.9296, tocolor(255, 255, 255, 255), 0.80, "pricedown", "center", "center", false, false, false, false, false) end if aba == "aba2" then dxDrawLine((screenW * 0.7833) - 1, (screenH * 0.2944) - 1, (screenW * 0.7833) - 1, screenH * 0.9676, tocolor(143, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, (screenH * 0.2944) - 1, (screenW * 0.7833) - 1, (screenH * 0.2944) - 1, tocolor(143, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7833) - 1, screenH * 0.9676, screenW * 0.9583, screenH * 0.9676, tocolor(143, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, screenH * 0.9676, screenW * 0.9583, (screenH * 0.2944) - 1, tocolor(143, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7833, screenH * 0.2944, screenW * 0.1750, screenH * 0.6731, tocolor(1, 0, 0, 170), false) dxDrawRectangle(screenW * 0.7833, screenH * 0.2944, screenW * 0.1750, screenH * 0.0176, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7833, screenH * 0.3120, screenW * 0.1750, screenH * 0.0093, tocolor(255, 3, 3, 254), false) dxDrawText("PLAYER", screenW * 0.7828, screenH * 0.2935, screenW * 0.9583, screenH * 0.3120, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawRectangle(screenW * 0.7833, screenH * 0.9583, screenW * 0.1750, screenH * 0.0093, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.3343) - 1, (screenW * 0.8042) - 1, screenH * 0.3907, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.3343) - 1, (screenW * 0.8042) - 1, (screenH * 0.3343) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.3907, screenW * 0.9365, screenH * 0.3907, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.3907, screenW * 0.9365, (screenH * 0.3343) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.3343, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.6009) - 1, (screenW * 0.8042) - 1, screenH * 0.6574, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.6009) - 1, (screenW * 0.8042) - 1, (screenH * 0.6009) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.6574, screenW * 0.9365, screenH * 0.6574, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.6574, screenW * 0.9365, (screenH * 0.6009) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.6009, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.5102) - 1, (screenW * 0.8042) - 1, screenH * 0.5667, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.5102) - 1, (screenW * 0.8042) - 1, (screenH * 0.5102) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.5667, screenW * 0.9365, screenH * 0.5667, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.5667, screenW * 0.9365, (screenH * 0.5102) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.5102, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.4204) - 1, (screenW * 0.8042) - 1, screenH * 0.4769, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.4204) - 1, (screenW * 0.8042) - 1, (screenH * 0.4204) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.4769, screenW * 0.9365, screenH * 0.4769, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.4769, screenW * 0.9365, (screenH * 0.4204) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.4204, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.7778) - 1, (screenW * 0.8042) - 1, screenH * 0.8343, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.7778) - 1, (screenW * 0.8042) - 1, (screenH * 0.7778) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.8343, screenW * 0.9365, screenH * 0.8343, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.8343, screenW * 0.9365, (screenH * 0.7778) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.7778, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.6907) - 1, (screenW * 0.8042) - 1, screenH * 0.7472, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.6907) - 1, (screenW * 0.8042) - 1, (screenH * 0.6907) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.7472, screenW * 0.9365, screenH * 0.7472, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.7472, screenW * 0.9365, (screenH * 0.6907) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.6907, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.8565) - 1, (screenW * 0.8042) - 1, screenH * 0.9130, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.8565) - 1, (screenW * 0.8042) - 1, (screenH * 0.8565) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.9130, screenW * 0.9365, screenH * 0.9130, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.9130, screenW * 0.9365, (screenH * 0.8565) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.8565, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawText("TROPA DO GALO", screenW * 0.7833, screenH * 0.9398, screenW * 0.9589, screenH * 0.9583, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("invisivel", screenW * 0.8042, screenH * 0.3333, screenW * 0.9344, screenH * 0.3907, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Dinheiro pra todos", screenW * 0.8042, screenH * 0.6907, screenW * 0.9344, screenH * 0.7481, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Dinheiro ", screenW * 0.8042, screenH * 0.6000, screenW * 0.9344, screenH * 0.6574, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Voar", screenW * 0.8042, screenH * 0.5093, screenW * 0.9344, screenH * 0.5667, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Trocar Skin", screenW * 0.8042, screenH * 0.4204, screenW * 0.9344, screenH * 0.4778, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Colete", screenW * 0.8042, screenH * 0.8565, screenW * 0.9344, screenH * 0.9139, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Vida", screenW * 0.8042, screenH * 0.7769, screenW * 0.9344, screenH * 0.8343, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false)-- body end if aba == "aba3" then dxDrawLine((screenW * 0.7823) - 1, (screenH * 0.2917) - 1, (screenW * 0.7823) - 1, screenH * 0.9657, tocolor(223, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, (screenH * 0.2917) - 1, (screenW * 0.7823) - 1, (screenH * 0.2917) - 1, tocolor(223, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7823) - 1, screenH * 0.9657, screenW * 0.9583, screenH * 0.9657, tocolor(223, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, screenH * 0.9657, screenW * 0.9583, (screenH * 0.2917) - 1, tocolor(223, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7823, screenH * 0.2917, screenW * 0.1760, screenH * 0.6741, tocolor(0, 0, 0, 196), false) dxDrawRectangle(screenW * 0.7823, screenH * 0.2917, screenW * 0.1755, screenH * 0.0148, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.3065, screenW * 0.1750, screenH * 0.0093, tocolor(213, 0, 0, 254), false) dxDrawText("Veiculos", screenW * 0.7823, screenH * 0.2917, screenW * 0.9578, screenH * 0.3065, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Para Criar Veiculos\n/veh ID ou NOME", screenW * 0.7932, screenH * 0.3269, screenW * 0.9505, screenH * 0.3861, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Destruir Veiculos\n/dv ", screenW * 0.7932, screenH * 0.5704, screenW * 0.9505, screenH * 0.6296, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Spawnar dentro Veiculos\n/vx ID ou NOME", screenW * 0.7932, screenH * 0.4426, screenW * 0.9505, screenH * 0.5019, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Troca Veiculos dentro dele\n/cv", screenW * 0.7932, screenH * 0.7111, screenW * 0.9505, screenH * 0.7704, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "center", "top", false, false, false, false, false) dxDrawText("Trocar cor Veiculos\n/cc", screenW * 0.7932, screenH * 0.8417, screenW * 0.9505, screenH * 0.9009, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) end if aba == "aba4" then dxDrawLine((screenW * 0.7828) - 1, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7828) - 1, screenH * 0.9676, screenW * 0.9589, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9676, screenW * 0.9589, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.6741, tocolor(1, 0, 0, 209), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.0185, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.3120, screenW * 0.1760, screenH * 0.0093, tocolor(193, 0, 0, 254), false) dxDrawText("ARMAS", screenW * 0.7828, screenH * 0.2935, screenW * 0.9573, screenH * 0.3120, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.3972, screenW * 0.9359, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.3972, screenW * 0.9359, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.3370, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.4750, screenW * 0.9359, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.4750, screenW * 0.9359, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4148, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.5583, screenW * 0.9359, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.5583, screenW * 0.9359, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4981, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.5833) - 1, (screenW * 0.8052) - 1, screenH * 0.6435, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.5833) - 1, (screenW * 0.8052) - 1, (screenH * 0.5833) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.6435, screenW * 0.9359, screenH * 0.6435, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.6435, screenW * 0.9359, (screenH * 0.5833) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.5833, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawText("Pegar Minigun", screenW * 0.8047, screenH * 0.3380, screenW * 0.9359, screenH * 0.3880, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Bazuca", screenW * 0.8047, screenH * 0.4157, screenW * 0.9359, screenH * 0.4657, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Bazuca2", screenW * 0.8052, screenH * 0.5028, screenW * 0.9365, screenH * 0.5528, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Lanca-Chamas", screenW * 0.8052, screenH * 0.5843, screenW * 0.9365, screenH * 0.6343, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Pegar Outras armas\n/givearmas NOME", screenW * 0.8000, screenH * 0.6907, screenW * 0.9432, screenH * 0.7870, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) end if aba == "aba5" then dxDrawLine((screenW * 0.7828) - 1, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2935) - 1, (screenW * 0.7828) - 1, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7828) - 1, screenH * 0.9676, screenW * 0.9589, screenH * 0.9676, tocolor(247, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9676, screenW * 0.9589, (screenH * 0.2935) - 1, tocolor(247, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.6741, tocolor(1, 0, 0, 209), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.2935, screenW * 0.1760, screenH * 0.0185, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7828, screenH * 0.3120, screenW * 0.1760, screenH * 0.0093, tocolor(193, 0, 0, 254), false) dxDrawText("TELEPORTE", screenW * 0.7828, screenH * 0.2935, screenW * 0.9573, screenH * 0.3120, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.3370) - 1, (screenW * 0.8052) - 1, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.3972, screenW * 0.9359, screenH * 0.3972, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.3972, screenW * 0.9359, (screenH * 0.3370) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.3370, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4148) - 1, (screenW * 0.8052) - 1, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.4750, screenW * 0.9359, screenH * 0.4750, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.4750, screenW * 0.9359, (screenH * 0.4148) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4148, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawLine((screenW * 0.8052) - 1, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, (screenH * 0.4981) - 1, (screenW * 0.8052) - 1, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8052) - 1, screenH * 0.5583, screenW * 0.9359, screenH * 0.5583, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9359, screenH * 0.5583, screenW * 0.9359, (screenH * 0.4981) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8052, screenH * 0.4981, screenW * 0.1307, screenH * 0.0602, tocolor(193, 0, 0, 254), false) dxDrawText("TP ID", screenW * 0.8047, screenH * 0.3380, screenW * 0.9359, screenH * 0.3880, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Puxar ID", screenW * 0.8047, screenH * 0.4157, screenW * 0.9359, screenH * 0.4657, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("Puxar todos", screenW * 0.8052, screenH * 0.5028, screenW * 0.9365, screenH * 0.5528, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) end end --- function isCursorOnElement ( x, y, w, h ) local mx, my = getCursorPosition () local fullx, fully = guiGetScreenSize () cursorx, cursory = mx*fullx, my*fully if cursorx > x and cursorx < x + w and cursory > y and cursory < y + h then return true else return false end end ---Funçao para abrir e fechar o painel clicando no (Pode alterar a key!) buttonClose = function() if painel == true or aba == "aba2" or aba == "aba3" or aba == "aba4" or aba == "aba5" then aba = "aba1" painel = true end end bindKey('BACKSPACE', "up" , buttonClose) --- function AbrirPainel () if painel == false then addEventHandler ( "onClientRender", root, PainelKing ) painel = true aba = "aba1" showCursor ( true ) else removeEventHandler ( "onClientRender", root, PainelKing ) unbindKey ("BACKSPACE" , "up", Binbutton) painel = false showCursor ( false ) end end addCommandHandler ( "tdgmenu", AbrirPainel) --- function clickPainel1(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.3250, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba2" painel = false end end end addEventHandler("onClientClick", root, clickPainel1) ---- function clickPainel2(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.4778, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba3" painel = false end end end addEventHandler("onClientClick", root, clickPainel2) --- function clickPainel3(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.3991, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba4" painel = false end end end addEventHandler("onClientClick", root, clickPainel3) --- function clickPainel4(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.5546, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba5" painel = false end end end addEventHandler("onClientClick", root, clickPainel4) ---Funçao para quando clicar no botao---- function Botao1 (_,state) if painel == true then if state == "down" then if isCursorOnElement ( screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583 ) then outputChatBox ( "") end end end end addEventHandler ("onClientClick", root, Botao1 ) --- function Botao2 (_,state) if painel == false and aba == "aba2" then if state == "down" then if isCursorOnElement ( screenW * 0.8042, screenH * 0.3343, screenW * 0.1323, screenH * 0.0565 ) then triggerServerEvent("ficarInvisivel", localPlayer) aba = "aba2" painel = false end end end end addEventHandler ("onClientClick", root, Botao2 ) --- function Botao3 (_,state) if painel == true then if state == "down" then if isCursorOnElement ( 0.8042, screenH * 0.3343, screenW * 0.1323, screenH * 0.0565 ) then outputChatBox ("") end end end end addEventHandler ("onClientClick", root, Botao3 ) --- esse e o codigo completo esse e o codigo pra quando clickar abrir a segunda aba function clickPainel1(button, state) if painel == true and aba == "aba1" and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if isCursorOnElement(screenW * 0.8073, screenH * 0.3250, screenW * 0.1323, screenH * 0.0583) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som aba = "aba2" painel = false end end end addEventHandler("onClientClick", root, clickPainel1)
  8. To fazendo um painel DX e fiz com 2 abas A primeira aba tem o botao Player (botao pra abrir a segunda aba) na segunda aba tem o Botao invisivel(pra ficar invisivel) so que os botao tao na mesma posicao so q em aba diferente.ai quando eu clicko em player ele fica invisivel,mas isso era pra aconter na segunda aba.tem como alguem me ajudar? function Botao2 (_,state) if painel == false and aba == "aba2" then if state == "down" then if isCursorOnElement ( screenW * 0.8042, screenH * 0.3333, screenW * 0.9344, screenH * 0.3907 ) then triggerServerEvent("ficarInvisivel", localPlayer) aba = "aba2" painel = false end end end end addEventHandler ("onClientClick", root, Botao2 )
  9. meu painel n abre e quero fazer a segunda aba meu script ta assim local screenW, screenH = guiGetScreenSize() local x, y = (screenW/1440), (screenH/900) painel = false --Dx feito no GuiEditor-- function PainelKing () dxDrawLine((screenW * 0.7839) - 1, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, (screenH * 0.2944) - 1, (screenW * 0.7839) - 1, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.7839) - 1, screenH * 0.9704, screenW * 0.9589, screenH * 0.9704, tocolor(255, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9589, screenH * 0.9704, screenW * 0.9589, (screenH * 0.2944) - 1, tocolor(255, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.6759, tocolor(0, 0, 0, 202), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.2944, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.3074, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawText("TROPA DO GALO", screenW * 0.7839, screenH * 0.2935, screenW * 0.9589, screenH * 0.3046, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawImage(screenW * 0.7891, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(screenW * 0.9453, screenH * 0.2954, screenW * 0.0083, screenH * 0.0102, ":admin/client/images/flags/br.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3250) - 1, (screenW * 0.8073) - 1, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.3833, screenW * 0.9396, screenH * 0.3833, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.3833, screenW * 0.9396, (screenH * 0.3250) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3250, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.3991) - 1, (screenW * 0.8073) - 1, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.4574, screenW * 0.9396, screenH * 0.4574, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.4574, screenW * 0.9396, (screenH * 0.3991) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.3991, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.4778) - 1, (screenW * 0.8073) - 1, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.5361, screenW * 0.9396, screenH * 0.5361, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.5361, screenW * 0.9396, (screenH * 0.4778) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.4778, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.5546) - 1, (screenW * 0.8073) - 1, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6130, screenW * 0.9396, screenH * 0.6130, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6130, screenW * 0.9396, (screenH * 0.5546) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.5546, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.6315) - 1, (screenW * 0.8073) - 1, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.6898, screenW * 0.9396, screenH * 0.6898, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.6898, screenW * 0.9396, (screenH * 0.6315) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7120) - 1, (screenW * 0.8073) - 1, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.7704, screenW * 0.9396, screenH * 0.7704, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.7704, screenW * 0.9396, (screenH * 0.7120) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7120, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.7963) - 1, (screenW * 0.8073) - 1, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.8546, screenW * 0.9396, screenH * 0.8546, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.8546, screenW * 0.9396, (screenH * 0.7963) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.7963, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawLine((screenW * 0.8073) - 1, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, (screenH * 0.8750) - 1, (screenW * 0.8073) - 1, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawLine((screenW * 0.8073) - 1, screenH * 0.9333, screenW * 0.9396, screenH * 0.9333, tocolor(255, 254, 254, 254), 1, false) dxDrawLine(screenW * 0.9396, screenH * 0.9333, screenW * 0.9396, (screenH * 0.8750) - 1, tocolor(255, 254, 254, 254), 1, false) dxDrawRectangle(screenW * 0.8073, screenH * 0.8750, screenW * 0.1323, screenH * 0.0583, tocolor(135, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9611, screenW * 0.1750, screenH * 0.0083, tocolor(231, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7839, screenH * 0.9481, screenW * 0.1750, screenH * 0.0130, tocolor(1, 0, 0, 254), false) dxDrawText("By-King021 e Garcia", screenW * 0.7839, screenH * 0.9491, screenW * 0.9589, screenH * 0.9602, tocolor(255, 255, 255, 255), 1.00, "sans", "center", "center", false, false, false, false, false) dxDrawText("Player", screenW * 0.8089, screenH * 0.3278, screenW * 0.9370, screenH * 0.3787, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Armas", screenW * 0.8073, screenH * 0.4028, screenW * 0.9354, screenH * 0.4537, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Veiculos", screenW * 0.8094, screenH * 0.4815, screenW * 0.9375, screenH * 0.5324, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Teleporte", screenW * 0.8094, screenH * 0.5583, screenW * 0.9375, screenH * 0.6093, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("PVP", screenW * 0.8094, screenH * 0.6352, screenW * 0.9375, screenH * 0.6861, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Virar admin", screenW * 0.8094, screenH * 0.7157, screenW * 0.9375, screenH * 0.7667, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Anuncio", screenW * 0.8094, screenH * 0.8000, screenW * 0.9375, screenH * 0.8509, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Explodir todos os veiculos", screenW * 0.8094, screenH * 0.8787, screenW * 0.9375, screenH * 0.9296, tocolor(255, 255, 255, 255), 0.80, "pricedown", "center", "center", false, false, false, false, false) function PainelKing2 () dxDrawLine((screenW * 0.7833) - 1, (screenH * 0.2944) - 1, (screenW * 0.7833) - 1, screenH * 0.9676, tocolor(143, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, (screenH * 0.2944) - 1, (screenW * 0.7833) - 1, (screenH * 0.2944) - 1, tocolor(143, 0, 0, 254), 1, false) dxDrawLine((screenW * 0.7833) - 1, screenH * 0.9676, screenW * 0.9583, screenH * 0.9676, tocolor(143, 0, 0, 254), 1, false) dxDrawLine(screenW * 0.9583, screenH * 0.9676, screenW * 0.9583, (screenH * 0.2944) - 1, tocolor(143, 0, 0, 254), 1, false) dxDrawRectangle(screenW * 0.7833, screenH * 0.2944, screenW * 0.1750, screenH * 0.6731, tocolor(1, 0, 0, 170), false) dxDrawRectangle(screenW * 0.7833, screenH * 0.2944, screenW * 0.1750, screenH * 0.0176, tocolor(1, 0, 0, 254), false) dxDrawRectangle(screenW * 0.7833, screenH * 0.3120, screenW * 0.1750, screenH * 0.0093, tocolor(255, 3, 3, 254), false) dxDrawText("PLAYER", screenW * 0.7828, screenH * 0.2935, screenW * 0.9583, screenH * 0.3120, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawRectangle(screenW * 0.7833, screenH * 0.9583, screenW * 0.1750, screenH * 0.0093, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.3343) - 1, (screenW * 0.8042) - 1, screenH * 0.3907, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.3343) - 1, (screenW * 0.8042) - 1, (screenH * 0.3343) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.3907, screenW * 0.9365, screenH * 0.3907, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.3907, screenW * 0.9365, (screenH * 0.3343) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.3343, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.6009) - 1, (screenW * 0.8042) - 1, screenH * 0.6574, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.6009) - 1, (screenW * 0.8042) - 1, (screenH * 0.6009) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.6574, screenW * 0.9365, screenH * 0.6574, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.6574, screenW * 0.9365, (screenH * 0.6009) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.6009, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.5102) - 1, (screenW * 0.8042) - 1, screenH * 0.5667, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.5102) - 1, (screenW * 0.8042) - 1, (screenH * 0.5102) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.5667, screenW * 0.9365, screenH * 0.5667, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.5667, screenW * 0.9365, (screenH * 0.5102) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.5102, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.4204) - 1, (screenW * 0.8042) - 1, screenH * 0.4769, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.4204) - 1, (screenW * 0.8042) - 1, (screenH * 0.4204) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.4769, screenW * 0.9365, screenH * 0.4769, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.4769, screenW * 0.9365, (screenH * 0.4204) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.4204, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.7778) - 1, (screenW * 0.8042) - 1, screenH * 0.8343, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.7778) - 1, (screenW * 0.8042) - 1, (screenH * 0.7778) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.8343, screenW * 0.9365, screenH * 0.8343, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.8343, screenW * 0.9365, (screenH * 0.7778) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.7778, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.6907) - 1, (screenW * 0.8042) - 1, screenH * 0.7472, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.6907) - 1, (screenW * 0.8042) - 1, (screenH * 0.6907) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.7472, screenW * 0.9365, screenH * 0.7472, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.7472, screenW * 0.9365, (screenH * 0.6907) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.6907, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawLine((screenW * 0.8042) - 1, (screenH * 0.8565) - 1, (screenW * 0.8042) - 1, screenH * 0.9130, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, (screenH * 0.8565) - 1, (screenW * 0.8042) - 1, (screenH * 0.8565) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawLine((screenW * 0.8042) - 1, screenH * 0.9130, screenW * 0.9365, screenH * 0.9130, tocolor(255, 255, 255, 254), 1, false) dxDrawLine(screenW * 0.9365, screenH * 0.9130, screenW * 0.9365, (screenH * 0.8565) - 1, tocolor(255, 255, 255, 254), 1, false) dxDrawRectangle(screenW * 0.8042, screenH * 0.8565, screenW * 0.1323, screenH * 0.0565, tocolor(255, 3, 3, 254), false) dxDrawText("TROPA DO GALO", screenW * 0.7833, screenH * 0.9398, screenW * 0.9589, screenH * 0.9583, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("invisivel", screenW * 0.8042, screenH * 0.3333, screenW * 0.9344, screenH * 0.3907, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Dinheiro pra todos", screenW * 0.8042, screenH * 0.6907, screenW * 0.9344, screenH * 0.7481, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Dinheiro ", screenW * 0.8042, screenH * 0.6000, screenW * 0.9344, screenH * 0.6574, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Voar", screenW * 0.8042, screenH * 0.5093, screenW * 0.9344, screenH * 0.5667, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Trocar Skin", screenW * 0.8042, screenH * 0.4204, screenW * 0.9344, screenH * 0.4778, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Colete", screenW * 0.8042, screenH * 0.8565, screenW * 0.9344, screenH * 0.9139, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false) dxDrawText("Vida", screenW * 0.8042, screenH * 0.7769, screenW * 0.9344, screenH * 0.8343, tocolor(255, 255, 255, 255), 1.50, "pricedown", "center", "center", false, false, false, false, false)-- body end ---Funçao para abrir e fechar o painel clicando no F2 (Pode alterar a key!) function AbrirPainel () if painel == false then addEventHandler ( "onClientRender", root, PainelKing ) painel = true showCursor ( true ) else removeEventHandler ( "onClientRender", root, PainelKing ) painel = false showCursor ( false ) end end addCommandHandler ( "king", AbrirPainel) --- function clickPainel1(button, state) if PainelKing == true and PainelKing2 == false and button == "left" and state == "down" then -- se painel 1 é true(ative), então quando eu tiver usando ele o painel vip 2 é false if cursorPosition(screenW * 0.8089, screenH * 0.3278, screenW * 0.9370, screenH * 0.3787) then -- local pra clicar pra aparecer outra aba playSoundFrontEnd(3) -- som PainelKing = false PainelKing2 = true addEventHandler("onClientRender", root, PainelKing2) -- function do dx removeEventHandler("onClientRender", root, PainelKing) -- function do dx end end ---Funçao para quando clicar no botao---- function Botao1 (_,state) if painel == true then if state == "down" then if isCursorOnElement ( screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583 ) then outputChatBox ( "Digite /hackv2 e aperte 0") end end end end addEventHandler ("onClientClick", root, Botao1 ) --- ------Ignone Abaixo---------- function isCursorOnElement ( x, y, w, h ) local mx, my = getCursorPosition () local fullx, fully = guiGetScreenSize () cursorx, cursory = mx*fullx, my*fully if cursorx > x and cursorx < x + w and cursory > y and cursory < y + h then return true else return false end end ---
  10. Quero fazer uma opcao quando o cara clica no botao do painel apareca um meno pra ele digitar um comando ..pra fazer script funciona dentro do painel dx,quando clica em dar vip aparece uma opcao pra ele digitar o login dele function givevip (playerSource, commandName, accountName) local accName = getAccountName ( getPlayerAccount ( playerSource ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Everyone" ) ) then if accountName then aclGroupAddObject (aclGetGroup("Admin"), "user."..accountName) outputChatBox ("Conta '"..accountName.."'Server Hackeado com sucesso TROPA DO GALO", playerSource) else outputChatBox ("Nome incorreto", playerSource) outputChatBox ("Correto: /daradmin Login", playerSource) end end end addCommandHandler ("daradmin", givevip)
  11. oi Botei o comando errado, e pra executar um painel de outro mod,tipo um painel vip, o comando do painel é "vipv2" so q quando eu boto o vipv2 n vai
  12. Preciso de ajudar pra quando eu clickar no botao executar um comando,tipo vc escrever /kill no chat, so q ao inves de escrever vc so aperta o botao no Painel DX aqui o script que tentei fazer ---Funçao para quando clicar no botao---- function Botao1 (_,state) if painel == true then if state == "down" then if isCursorOnElement ( screenW * 0.8073, screenH * 0.6315, screenW * 0.1323, screenH * 0.0583 ) then executeCommandHandler("kill") outputChatBox ( "Tropa do galo") end end end end addEventHandler ("onClientClick", root, Botao1 )
  13. mano vc tem discord? pode me ajudar sou mt leigo nessas coisas kkk King021#8498 meu discord
  14. Quero fazer um painel vip. mas n sei como fazer com que o player clique na opcao do menu e abre outras opcao https://prnt.sc/wu6xj6 Tipo Aperto em Player e abre as opcao de player tlg pelo gui editor
×
×
  • Create New...