Jump to content

thisdp

Scripting Moderators
  • Posts

    535
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by thisdp

  1. this means it maybe not DGS' fault, because dgsSetInputMode("no_binds_when_editing") is guiSetInputMode("no_binds_when_editing"). Try to find whether there are other scripts that modify input mode
  2. try whether guiSetInputMode("no_binds_when_editing"), doesn't work.
  3. you should use addEventHandler ( "onDgsMouseClickDown", buttonCriar, clickCriar, false )
  4. The reason why I use shader is that with dx functions, I will get a non-smooth round rectangle XD
  5. I mean.. you can just take the shader
  6. https://github.com/thisdp/dgs/blob/master/plugin/roundRect.Lua
  7. thank you. FIxed now. use "updatedgs" will get the unstable version when there's no notification about update from DGS update system.
  8. did you updatedgs to the latest version?
  9. use https://wiki.multitheftauto.com/wiki/OnDgsElementScroll instead, https://wiki.multitheftauto.com/wiki/onDgsScrollBarScrollPositionChange has already been removed for a long time btw, change "onClientGUIComboBoxAccepted" to https://wiki.multitheftauto.com/wiki/OnDgsComboBoxSelect
  10. getElementsByType("pickup",root,true)
  11. well, I am planning to do this. But unfortunately, I don't have enough free time to do that.
  12. Hope you can find the solution in my dxlib: https://wiki.multitheftauto.com/wiki/Dgs
  13. https://github.com/multitheftauto/mtasa-blue/issues/1091 I am waiting the issue to be solved. And sorry for the bug.
  14. DGS Supports GUI TO DGS Now and still under testing: https://wiki.multitheftauto.com/wiki/G2D
  15. https://wiki.multitheftauto.com/wiki/OnDgsElementScroll
  16. Maybe video tag is broken for some reason. 我也活跃于官方discord
  17. The same problem as DGS media browser. It works in ancient MTA version....
  18. make the gas pump as object (removeWorldObject and createObject) amd then use https://wiki.multitheftauto.com/wiki/SetObjectBreakable
  19. I am afraid that it is an unsolvable question with only object. First, there is no way to get the texture from an object by position. Second, we can not get the texture from an object even you know which face of the object the mouse clicks without analyzing the dff file. But you can store the texture data in a table ....
×
×
  • Create New...