Jump to content

Viniih

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Viniih

  1. acho que ninguém é vidente pra saber que você tem problemas e nao vi um pingo de preconceito no que o RooTs falou
  2. Quero saber se o uso de html no mta tem limites e como posso usar o html no mta se a alguma diferença entre o html de sites etc e o html do mta
  3. @Tremidinha deveria ser moderador, nunca vi o cadu em nenhum tópico
  4. Teste isso painel = false function PainelDX() dxDrawText(" Beneficios V.I.P\nFunçoes Player\n#1 : JetPack\n#2 : Invisivel\n#3 : Velocidade 3x\n#4 : Kit Armas V.I.P\n#5 : Sniper One Hit Kill\n#6 : Vida | Colete\n#7 : Skin V.I.P\n#8 : Todas as Habilidades\nFunçoes Carro\n#1 : Indestrutivel\n#2 : Invisivel", 420, 308, 817, 512, tocolor(255, 255, 255, 255), 1.00, "sans", "left", "top", false, false, false, false, false) dxDrawLine(410 - 1, 296 - 1, 410 - 1, 512, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(598, 296 - 1, 410 - 1, 296 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(410 - 1, 512, 598, 512, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(598, 512, 598, 296 - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(410, 296, 188, 216, tocolor(116, 101, 18, 70), false) end function abrir() if painel == false then painel = true addEventHandler("onClientRender", root, PainelDX) else painel = false removeEventHandler("onClientRender", root, PainelDX) end end bindKey ("f2", "down", abrir)
  5. Eu digito o /anuncio ea msg mas n aparece na tela nd E a linha 21 do ClientSide nao esta iniciando a função da linha 18 do ClientSide porque o nome esta diferente
  6. esta faltando um end da linha 18 do ClientSide
  7. Ja resolvi só criei uma variável a mais e deixei ela em false com o painel fechado e true com o painel aberto e nao muda ela quando clica nos botoes
  8. Nao po assim Eu abro o painel ai vou na segunda parte e clico no botao, até ai tudo bem, na hora de fechar o painel(depois que eu cliquei no botao) ele nao fecha ele abre outro ai depois fecha
  9. quando eu abro o painel ele fica de boa ai eu vou para a segunda parte do painel e clico em algum botao na hora de fechar ele abre outro function voarOFF(_,estado) ---Botao da segunda parte if estado == "down" then if isCursorOnElement(744, 479, 58, 31) then setWorldSpecialPropertyEnabled("aircars", false) joga = false veh = true inf = false end end end addEventHandler("onClientClick",root,voarOFF) function veic(_,estado) ---Botao para abrir a segunda parte if joga == true then if estado == "down" then if isCursorOnElement(863, 296, 59, 125) then -- addEventHandler("onClientRender", root, veiculo) addEventHandler("onClientClick",root,voarON) addEventHandler("onClientClick",root,voarOFF) -- removeEventHandler("onClientRender", root, jogador) removeEventHandler("onClientRender", root, info) removeEventHandler("onClientClick", root, onski) removeEventHandler("onClientClick", root, offski) removeEventHandler("onClientClick",root,offjet) removeEventHandler("onClientClick",root,onjet) removeEventHandler("onClientClick",root,onvelo) removeEventHandler("onClientClick",root,offvelo) removeEventHandler("onClientClick",root,estilol4) removeEventHandler("onClientClick",root,estilol3) removeEventHandler("onClientClick",root,estilol2) removeEventHandler("onClientClick",root,estilol1) removeEventHandler("onClientClick",root,skinn2) removeEventHandler("onClientClick",root,skinn1) removeEventHandler("onClientClick",root,armass) removeEventHandler("onClientClick",root,habil) removeEventHandler("onClientClick",root,vidacol) -- joga = true veh = true inf = true end end end end addEventHandler("onClientClick",root,veic) function Showpanel () ---Ele abre/fecha com a Letra O if joga == false then addEventHandler ("onClientRender", root, jogador) showCursor (true) joga = true veh = true inf = true else removeEventHandler ("onClientRender", root, jogador) removeEventHandler ("onClientRender", root, info) removeEventHandler ("onClientRender", root, veiculo) showCursor (false) joga = false veh = false inf = false end end addEvent ("Vipdx",true) addEventHandler ("Vipdx",root,Showpanel)
  10. Explique melhor e não use gírias obrigado
×
×
  • Create New...