-
Posts
535 -
Joined
-
Last visited
-
Days Won
9
Everything posted by thisdp
-
First create a txt file with UTF-8 Encoding. Then copy the text into it. I think it is caused by utf8 head.
-
It is because I didn't understand him.
-
Does it support utf8?
-
#str string.len(str) utf8.len(str) which one will you choose?
-
Because timer is not an element. isElement(timer) always returns false.
-
Maybe you will like it.
-
Hi everybody , dgs dx memo will released in the next version. Maybe the end of this month.
-
Thank you all the same. But listen bro, I am just want to make some contributions to MTA. I don't accept any donation materially. Instead, you use it and give me the response to your feeling. This is the best donation to me.
-
Added Check Box. use /updatedgs to update to the latest version. See Update Log : http://angel.mtaip.cn:233/dgsUpdate
-
You must read wiki : https://wiki.multitheftauto.com/wiki/OnClientDgsDxMouseClick This is different from onClientGUIClick Both Press and Release will be detected.
-
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
-
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.
-
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.