Jump to content

Search the Community

Showing results for tags 'dxgui'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 8 results

  1. Olá amigos sou novo na progamação para MTA porem ja evolui bastante mas uma coisa que ainda me pega é o client, eu gostaria de saber como eu poderia fazer um retangulo com bordas arredondadas usando DX
  2. -- Client local screenW, screenH = guiGetScreenSize() local x, y = (screenW/1440), (screenH/900) painel = false function painel1 () dxDrawRectangle(screenW * 0.8279, screenH * 0.0365, screenW * 0.1581, screenH * 0.4440, tocolor(0, 0, 0, 255), false) selector = dxDrawRectangle (screenW * 0.8279, screenH * 0.0801+32, screenW * 0.1581, screenH * 0.0221, tocolor(255, 0, 0, 255), false) dxDrawText("Teste 1", screenW * 0.8360, screenH * 0.0846, screenW * 0.9096, screenH * 0.1055, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Teste 2", screenW * 0.8360, screenH * 0.1185, screenW * 0.9096, screenH * 0.1393, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Teste 3", screenW * 0.8360, screenH * 0.1523, screenW * 0.9096, screenH * 0.1732, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Teste 4", screenW * 0.8360, screenH * 0.1862, screenW * 0.9096, screenH * 0.2070, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) end function painel2 () dxDrawRectangle(screenW * 0.8279, screenH * 0.0365, screenW * 0.1581, screenH * 0.4440, tocolor(0, 0, 0, 255), false) dxDrawText("Teste 5", screenW * 0.8360, screenH * 0.0846, screenW * 0.9096, screenH * 0.1055, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Teste 6", screenW * 0.8360, screenH * 0.1185, screenW * 0.9096, screenH * 0.1393, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Teste 7", screenW * 0.8360, screenH * 0.1523, screenW * 0.9096, screenH * 0.1732, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Teste 8", screenW * 0.8360, screenH * 0.1862, screenW * 0.9096, screenH * 0.2070, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) end function Abrirpainel () if painel == false then addEventHandler ( "onClientRender", root, painel1 ) painel = true else removeEventHandler ( "onClientRender", root, painel1 ) removeEventHandler ( "onClientRender", root, painel2 ) painel = false end end bindKey("=", "down", Abrirpainel) Eu sou muito novo em script com dxGui, e eu queria saber como eu faço uma barra (selector) que ao clicar com as teclas "arrow_u" e "arrow_d", (seta pra cima e seta pra baixo), ela se move para cima e para baixo e se possível, se a barra estiver em uma certa posição, apertar algum botão e ir para o painel2, obrigado
  3. Olá, estou como ideia de converter um guiGrid em DxGrid usando o mode dxLib, mas eu não estou conseguindo criar as colunas, só queria um retângulo preto que é a lista sem colunas. Peguei essa função de um mod (vou chamar de mod A) que usa dxGrid e coloquei no meu mod (mod B) , n funciona(já botei o dxGrid.Lua no meta). Apaguei todas as funções que se comunica com o dxGrid.Lua do mod A e apaguei, deixe só a função abaixo e a Lista e as Colunas foram criadas normalmente. Coloquei a função no mod B e só criou a Lista sem coluna.(Tentei trocar o nome da Lista para ver se funcionava e não deu certo também) addEventHandler("onClientResourceStart", resourceRoot, function () Arm_Test = dxGridW:Create(470, 303, 427, 157) Arm_Test:AddColumn("Jogador", 207) Arm_Test:AddColumn("Arma", 210) Arm_Test:SetVisible(true) end)
  4. I maked a Password based gate script with dx and normal gui pic This resource is working properly but i have a problem iwant to setup close butten and gui visible set to marker pls help me this is client side GUIEditor = { button = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(534, 370, 265, 54, "OPEN THE GATE", false) GUIEditor.button[2] = guiCreateButton(872, 429, 62, 37, "Close", false) GUIEditor.edit[1] = guiCreateEdit(463, 269, 250, 43, "", false) addEventHandler ( "onClientGUIClick", GUIEditor.button[1], checkPassword ) guiEditSetMasked ( GUIEditor.edit[1], true ) end ) password = "1234" function checkPassword () local text = guiGetText ( GUIEditor.edit[1] ) if text == password then triggerServerEvent ( "openGate", resourceRoot) else outputChatBox ( "Password Incorrect!" ) end end this is the server side local gate = createObject(980,-2423.94385, -609.48846, 132.56250, 0, 0, 0) function open() moveObject(gate, 980,-2414.95703, -603.12976, 132.56250, 0, 0, 0) end addEvent( "openGate", true ) addEventHandler( "openGate", resourceRoot, open ) <meta> <meta> <info type="script" name="psswd based gate" author="heshan" version="1.0.0"></info> <script src="my2.lua" type="client" ></script> <script src="my2s.lua" type="server" ></script> </meta> pls help
  5. I would apperciate it very much if you could give some advice on DGS.
  6. https://luca-spopo.github.io/ash.html Made using bakaGaijin. I am not going to type everything here again, so just click the first link on top. Some teasers: https://youtu.be/qGYF3OFbGy8 https://youtu.be/pVPMER9JTiI https://youtu.be/Hm0xIc35BfA Before you ask: No, this does not use Javascript or CEF. It is a pure Lua implementation.
  7. MKH

    Dx help

    Hello, i just wanna to know, first i made a simple dx gui, my resolution was 1366x786 i think, and my friend's resolution was 1600x900, the gui if looking fine for me because i made it, but its not fine for my friends, i just wanna to know how to draw dx for all resolutions
  8. Hey folks, could someone point me to some nice DxGui library? I have been searching forums and google for like an hour now and no luck. I mainly need it to create custom inventory system for DayZ, so GridList and Drag&Drop functionality is what i need mostly but i guess if library is good but it does not have that i could script it myself. Any suggestions are welcome, and by the way i have seen dxgui on wiki but it seems like its not finished and abandoned.
×
×
  • Create New...