Search the Community

Showing results for tags 'dgs'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me





Found 5 results

  1. Hi, sorry for bad english. I have a question about DGS. I create a window in which I create a button (buttonWindow) and add an event to it, but the function works even if you clicked on the window (wnd). wnd = dgsCreateWindow (...) buttonWindow = dgsCreateButton (...,wnd) addEventHandler ("onDgsMouseClick", buttonWindow, buttonWindowFunction) function buttonWindowFunction () ... end How can I fix this? Thank you in advance!
  2. Thisdp's DirectX Graphical User Interface System ( MTASA 2D+3D DxLIB ) This dxlib provide dx gui functions and events to make it easier to use and alternative to change the style more flexibly. Warning: Old function name like dgsDxGUI*/dgsDx* are no longer supported after 3.4, please change your functions and events name 'dgsDxGUI*'/'dgsDx*' have been changed to 'dgs*' Current Version: 3.37 Final Version: 3.99 Features: 1. Update Check(DGS will notice you if there is a higher version, and you can choose to ignore it or disable it in the config file) Update Command: "updatedgs" 2. Dx GUI Types: Window Edit Box Button Grid List Image Scroll Bar Scroll Pane Text Label Tab Panel Ellipse Detect Area (EDA) Detect Area Radio Button Combo Box Check Box Memo 3D Interface Media Browser Browser 3. Edit Selection Fixed 4. dgs-dxeda is used to check whether your mouse is in the target ellipse area. 5. Debug Mode , Command: "debugdgs" 6. You can apply shader to the dxgui 7. Include CMD, Command: "cmd" ( For more help, please input "help" in the CMD ) 8. Memo rewritten. 9. OOP Class Notice:Do not close your server or stop the script when it is updating. Wiki: ( Still Working In Process ) Auto Completion For N++ (Thanks To Ahmed Ly): Discord Server: Download DGS : Notice: Need acl rights to call fetchRemote. To Contact Me , Skype: thisdpzjl My server is based on DGS , if you want to see the exact effect of dgs ( not best, my design is bad ). Please have a look. IP: If you want to sell your script which involves DGS, please exclude DGS from your price. HurtWorld Backpack Panel(Example) DGS Network Monitor(Built-in)
  3. Hello. (sry for english and stupid question) I created window and input field on DGS win = DGS:dgsDxCreateWindow(0.18, 0.27, 0.22, 0.3," ",true,0xFF000000,25,nil,0xFFFFFFFF,nil,0xFFFFFFFF,5,true) -- window emailBoxReg = DGS:dgsCreateEdit( 0.1, 0.36, 0.8, 0.1, "INPUT FIELD", true, win, 0xFF000000, 0.5, 0.5, nil, 0xFFEBEBEB, false) -- input field DGS:dgsDxGUISetVisible( winReg, true) -- show DGS:dgsDxWindowSetMovable(winReg, false) DGS:dgsDxWindowSetSizable(winReg, false) guiSetInputEnabled(true) -- input showCursor(true) -- cursor why if i click on input field, later click on window - next clicks everywhere not work?
  4. I would apperciate it very much if you could give some advice on DGS.
  5. Hello, why gui showing(hide also) all, and add all row???? DGS = exports.dgs function LGUI(player) if getLocalPlayer() == localPlayer then Login = DGS:dgsDxCreateEdit(0.16, 0.4, 0.20, 0.05, "", true) Pass = DGS:dgsDxCreateEdit(0.16, 0.47, 0.20, 0.05, "", true) DGS:dgsDxEditSetMasked(Pass, true ) LOGIN_BUTT = DGS:dgsDxCreateButton(0.20, 0.55, 0.1, 0.05, "Zaloguj", true) showCursor(true) showChat(false) end end addEventHandler("onClientResourceStart", root, LGUI) function Login_click() if source == LOGIN_BUTT then local TEXT_LOGIN = DGS:dgsDxGUIGetText(Login) local TEXT_PASS = DGS:dgsDxGUIGetText(Pass) triggerServerEvent("LOGIN_CLICK", root, TEXT_LOGIN, TEXT_PASS) end end addEventHandler ("onClientDgsDxMouseClick", root, Login_click) addEvent("LOGIN_TRUE", true) function Login() DGS:dgsDxGUISetVisible(Login, false) DGS:dgsDxGUISetVisible(Pass, false) DGS:dgsDxGUISetVisible(LOGIN_BUTT, false) triggerEvent("LOGGED", root) end addEventHandler("LOGIN_TRUE", root, Login) AND getSelected = 0 addEvent("LOGGED", true) function CHGUI() CH_GRID = DGS:dgsDxCreateGridList (346, 163, 433, 403, false ) CH_BUTT = DGS:dgsDxCreateButton(0.20, 0.55, 0.1, 0.05, "Wybierz postać", true) CH_GRID_CID = DGS:dgsDxGridListAddColumn(CH_GRID, "CID", 0.5 ) CH_GRID_NAME = DGS:dgsDxGridListAddColumn(CH_GRID, "Imie i nazwisko", 0.2) triggerServerEvent("GET_CH", root) end addEventHandler("LOGGED", root, CHGUI) addEvent("CH_INFO", true) function setCH(CHS,CH_CID, CH_NAME) for i,v in ipairs(CHS) do ROW_CH = DGS:dgsDxGridListAddRow(CH_GRID) SET_ROW_CID = DGS:dgsDxGridListSetItemText(CH_GRID, ROW_CH, CH_GRID_CID, CH_CID[i]) SET_ROW_NAME = DGS:dgsDxGridListSetItemText(CH_GRID, ROW_CH, CH_GRID_NAME, CH_NAME[i]) end end addEventHandler("CH_INFO", getLocalPlayer(), setCH) addEventHandler ( "onClientDgsDxMouseClick", root, function() if source == CH_GRID then Selected = DGS:dgsDxGridListGetSelectedItem(CH_GRID) getSelected = DGS:dgsDxGridListGetItemText(CH_GRID, Selected, CH_GRID_CID) end if source == CH_BUTT then if Selected == -1 or getSelected == 0 then outputChatBox("Nie wybrales postaci!") else triggerServerEvent("getCID", root, getSelected) end end end) addEvent("CH_SELECT", true) function hideCHGUI() DGS:dgsDxGUISetVisible(CH_GRID, false) DGS:dgsDxGUISetVisible(CH_BUTT, false) showCursor(false) showChat(true) end addEventHandler("CH_SELECT", root, hideCHGUI)