thisdp

Members
  • Content count

    163
  • Joined

  • Last visited

  • Days Won

    1

thisdp last won the day on August 31

thisdp had the most liked content!

Community Reputation

50 Popular

6 Followers

About thisdp

  • Rank
    Busta
  • Birthday 12/11/99

Details

  • Gang
    middle
  • Location
    home
  • Occupation
    Programmer
  • Interests
    programming

Recent Profile Visitors

635 profile views
  1. [Release]thisdp's Dx GUI System

    You must read wiki : https://wiki.multitheftauto.com/wiki/OnClientDgsDxMouseClick This is different from onClientGUIClick Both Press and Release will be detected.
  2. how to do?

    function onBuyHouse(player) local acc = getPlayerAccount(player) if acc and not isGuestAccount(acc) then setAccountData(acc,"houseCoolTime",getRealTime().timestamp) end end function isInBuyHouseCoolTime(player) local acc = getPlayerAccount(player) if acc and not isGuestAccount(acc) then local time = getAccountData(acc,"houseCoolTime") or 0 local currentTime = getRealTime().timestamp if currentTime-time <= 3600 then return true end return false end end
  3. [Release]thisdp's Dx GUI System

    Can't do it now XD. But you can create a label above the edit.
  4. [Release]thisdp's Dx GUI System

    You can use image. But it requires dgsDxGUISetProperty. And turbid? If you want to let the image blur, you should make a shader (.fx file). If you just want to set its alpha smoothly, use dgsAlphaTo.
  5. [Release]thisdp's Dx GUI System

    relative = true should work fine.
  6. [Release]thisdp's Dx GUI System

    Give me the screenshot --[[Easing Type can be found through the function such as getEasingValue or others.]] DGS:dgsMoveTo(dxgui,targetX,targetY,Relative,false,EasingType,timeMS) -- This works fine. DGS:dgsMoveTo(dxgui,targetX,targetY,Relative,true,EasingType,speedX,speedY) -- I think this is buggy. DGS:dgsSizeTo(dxgui,targetW,targetH,Relative,false,EasingType,timeMS) -- This works fine. DGS:dgsSizeTo(dxgui,targetW,targetH,Relative,true,EasingType,speedX,speedY) -- I think this is buggy. DGS:dgsAlphaTo(dxgui,targetAlpha,false,EasingType,timeMS) -- This works fine. DGS:dgsAlphaTo(dxgui,targetAlpha,true,EasingType,speed) -- I think this is buggy.
  7. [Release]thisdp's Dx GUI System

    Why not use dxCreateTexture. It will work faster. If not, dgs will first copy the image file to its directory and then load it from disk when creating dxgui. The color in dgs is always using an integer which can translated by tocolor().
  8. clientside max fps

    He said why Clientsided setFPSLimit only works lower than Serversided one. And the fact is that.
  9. [Release]thisdp's Dx GUI System

    msyh.ttf is very big and has bad effect in render target. If you want this font, use dxCreateFont. You can use absolute column before add row. dgsDxGridListSetColumnRelative(gridlist,false) Or you can use no render target mode. dgsDxGUISetProperty(gridlist,"mode",true)
  10. [Release]thisdp's Dx GUI System

    That is why XD. In the bottom of dgs-dxedit, there is a gui-edit for typing (So that we can use Ctrl+V ,IME and other languages). But I rewrite the edit's function.
  11. [Release]thisdp's Dx GUI System

    do you open /debugdgs ?
  12. [Release]thisdp's Dx GUI System

    np. Make Dx easier to use is my target.
  13. [Release]thisdp's Dx GUI System

    Added: dgsGetDxGUIFromResource dgsGetDxGUINoParent To know the detail. See update log: http://angel.mtaip.cn:233/dgsUpdate/
  14. Loop is not executed

    ipairs : the index of table from 1 to ∞ which can only be continuous. pairs: the index of table can be everything.(even it is continuous)