Jump to content

ThiagoyBlaCk

Members
  • Posts

    9
  • Joined

  • Last visited

Details

  • Location
    Brazil
  • Occupation
    Bahia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ThiagoyBlaCk's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. Quando eu coloco essa parte function onScreenClick() if (button ~= "left") or (state ~= "up") or isConsoleActive() or isMainMenuActive() then return end; if painel1_mostrando == true then -- verificar se o painel DX tá na tela if isMouseWithinRangeOf( x*94, x*166, y*207, y*232 ) -- vamos então mostrar o segundo DX addEventHandler( "onClientRender", root, subDX ) showCursor( true ) painel2_mostrando = false end end end o painel nn abre eu tenho que editar algo além do "subDX" ??
  2. Ola, Preciso De Uma Ajudinha Pra Saber Como Posso Fazer O Segundo Painel Parar De Sumir E Menos De 1 Segundo Quero Que Ele Nn Suma Fique Aberto, function Test1() dxDrawRectangle(x*94, y*261, x*167, y*26, tocolor(0, 0, color1, alfa), false) end VTR = guiCreateButton( x*94, y*261, x*167, y*26, "", false ) addEventHandler("onClientGUIClick",VTR,function() VTRS() end) function VTRS() dxDrawRectangle(273, 260, 138, 179, tocolor(0, 0, 0, 152), false) end
  3. Tipo isso só nn posso soltar meu painel ak néh kkkk function Test1() dxDrawRectangle(x*94, y*261, x*167, y*26, tocolor(0, 0, color1, alfa), false) end VTR = guiCreateButton( x*94, y*261, x*167, y*26, "", false ) addEventHandler("onClientGUIClick",VTR,function() VTRS() end) function VTRS() dxDrawRectangle(273, 260, 138, 179, tocolor(0, 0, 0, 152), false) end
  4. lordhenry sim, eu ja fiz mais o caso é que exemplo eu uso o "onClientGUIClick" No CreateGuiButton Que eu utilizei atras do botão DX Rectagle, quando eu clico no DX Rectangle abre o meu segundo painel por causa do Botão Gui Que Esta atras, daii em menos de 1 segundo some novamente no caso eu uso uma função CreateGuiButton, Junto com o onClientGUIClick - Pra abrir uma function dx ... funciona tranquilo só que o segundo painel dx que abre fecha em menos de 1 segundo todo click que eu do
  5. Hi, I'm new to script, and I need help, I wanted to know how I can open another dx panel, over the first, using a dx button example First Panel function test() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) I wanted to click here, then it will open the second panel dx over the first one end Second Panel function test2() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) end I'm Brazilian Sorry For The Language Errors
  6. Hi, I'm new to script, and I need help, I wanted to know how I can open another dx panel, over the first, using a dx button example First Panel function test() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) I wanted to click here, then it will open the second panel dx over the first one end Second Panel function test2() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) end I'm Brazilian Sorry For The Language Errors
  7. Hi, I'm new to script, and I need help, I wanted to know how I can open another dx panel, over the first, using a dx button example First Panel function test() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) I wanted to click here, then it will open the second panel dx over the first one end Second Panel function test2() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) end I'm Brazilian Sorry For The Language Errors
  8. Hola, Do Foro Galerinha hacer paneles durante mucho tiempo, pero nunca se detuvo para hacer una de dos partes comenzó a crear una ahora y necesito un poco de ayuda de usted una colaboración para saber cómo iniciar la segunda sobre la primera prensada de la dx botón ejemplo primer panel function test() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) Yo quiero saber cómo puede hacer clic aquí < y abrir el segundo panel ya creado ateh el botón GUI detrás del botón dx, y utilizamos el onClientGUIClick más daii el segundo panel aparece y desaparece en el mismo segundo end segundo panel function test2() dxDrawLine(273 - 1, 260 - 1, 273 - 1, 439, tocolor(255, 255, 255, 255), 1, false, VTR) dxDrawLine(411, 260 - 1, 273 - 1, 260 - 1, tocolor(255, 255, 255, 255), 1, false, VTR) dxDrawLine(273 - 1, 439, 411, 439, tocolor(255, 255, 255, 255), 1, false) dxDrawLine(411, 439, 411, 260 - 1, tocolor(255, 255, 255, 255), 1, false) dxDrawRectangle(273, 260, 138, 179, tocolor(0, 0, 0, 152), false) end Soy brasileña excusa los errores de lenguaje atrapados en el traductor de Google
  9. Ola, Galerinha Do Forum faço Paineis a um bom tempo mais nunca parei pra fazer um com duas partes comecei a criar um agora e preciso de uma ajudinha de vocês uma colaboração pra saber como iniciar o segundo por cima do primeiro apertando sobre o botão dx exemplo Primeiro Painel function test() dxDrawLine(x*94 - 1, y*207 - 1, x*94 - 1, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*207 - 1, x*94 - 1, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*94 - 1, y*439, x*261, y*439, tocolor(255, 255, 255, alfa), 1, false) dxDrawLine(x*261, y*439, x*261, y*207 - 1, tocolor(255, 255, 255, alfa), 1, false) dxDrawRectangle(x*94, y*207, x*166, y*232, tocolor(0, 0, 0, alfa), false) end Quero Saber como posso clicar aqui < e abrir o segundo painel, já criei ateh o botão gui por tras do botão dx, e usei o onClientGUIClick mais daii o segundo painel aparece e some no mesmo segundo Segundo Painel function test2() dxDrawLine(273 - 1, 260 - 1, 273 - 1, 439, tocolor(255, 255, 255, 255), 1, false, VTR) dxDrawLine(411, 260 - 1, 273 - 1, 260 - 1, tocolor(255, 255, 255, 255), 1, false, VTR) dxDrawLine(273 - 1, 439, 411, 439, tocolor(255, 255, 255, 255), 1, false) dxDrawLine(411, 439, 411, 260 - 1, tocolor(255, 255, 255, 255), 1, false) dxDrawRectangle(273, 260, 138, 179, tocolor(0, 0, 0, 152), false) end
×
×
  • Create New...