Scripting Moderators
  • Content Count

  • Joined

  • Last visited

  • Days Won


thisdp last won the day on January 25 2019

thisdp had the most liked content!

Community Reputation

235 Celebrity

About thisdp

  • Rank
    Chinese Section Moderator & Scripting Section Moderator
  • Birthday 12/11/1999


  • Gang
  • Location
  • Occupation
  • Interests

Recent Profile Visitors

3,940 profile views
  1. thisdp


    For local video. if you don't want to know how does that works, just aiming at how to do that as soon as possible. You can consider DGS ( And use the following function. Note: only WEBM is supported currently.
  2. if isElement(window) then

    Hello, could you help me with a problem that I have, I have been making a marker with a panel to spawn cars but I have not managed to spaw one at a time, what do I do in that case?

  4. I had to solve something like label:setSize(label:getSize)
  5. Currently, I need some help with get type of "vector", I can't get the type of Vector/Vector2/... window is the parent of button1 button1 is the parent of button2 but window is not button2's parent, it is button2's grand parent getChildren only gets parent, exclude grand parent
  6. thanks, this was a mistake when I am optimizing dgs code
  7. maybe dxDrawMaterialPrimitive3D but this function is buggy
  8. for drawing render target, use dxDrawMaterialLine3D
  9. thisdp

    (help) panel

    I can't understand the logic from the code. I assume you are attaching an event to a dgs element, but I can't find the function you want to execute. function openWindow() Karakter = dgs:dgsCreateWindow(290, 268, 250, 283, "Karakter", false) dgs:dgsWindowSetMovable(Karakter, false) dgs:dgsWindowSetSizable(Karakter, false) dgs:dgsSetFont(Karakter, "default-bold") gridlist = dgs:dgsCreateGridList(9, 5, 231, 221, false, Karakter) dgs:dgsGridListAddColumn(gridlist, "Skin", 0.9) for i = 1, 2 do dgs:dgsGridListAddRow(gridlist) end dgs:dgsGridListSetItemText(gridlist, 0, 1, "bayan", false, false) dgs:dgsGridListSetItemText(gridlist, 1, 1, "-", false, false) Al = dgs:dgsCreateButton(9, 230, 55, 22, "Al", false, Karakter) Kapat = dgs:dgsCreateButton(74, 230, 55, 22, "Kapat", false, Karakter) dgs:dgsSetFont(Al, "default-bold") dgs:dgsSetFont(Kapat, "default-bold") end Skin = dgs:dgsCreateButton(9, 45, 257, 36, "Skin", false, Wnd) addEventHandler("onDgsMouseClickUp",Skin,openWindow)
  10. thisdp

    Ped Control State

    You can solve this with setElementStreamable. But you should know that out of GTASA's streaming range, the collision of world object will be unloaded. This means the ped will go under ground.
  11. see example in onDgsMouseClick. Or you can use these: onDgsMouseClickDown onDgsMouseClickUp
  12. Join the DGS discord.