-
Content Count
481 -
Joined
-
Last visited
-
Days Won
8
thisdp last won the day on January 25 2019
thisdp had the most liked content!
Community Reputation
242 CelebrityAbout thisdp
-
Rank
Chinese Section Moderator & Scripting Section Moderator
- Birthday 12/11/1999
Details
-
Gang
middle
-
Location
home
-
Occupation
Programmer
-
Interests
programming
-
Merry Christmas!!
-
https://wiki.multitheftauto.com/wiki/DxSetBlendMode
-
I don't recommand you to bind "onClientGUIClick" on resourceRoot, it takes more CPU resource. Don't set the 4th argument to false when binding "onClientGUIClick" on resourceRoot.
-
If you are lazy to do that, just use onDgsMouseClickDown instead of onDgsMouseClick
-
if you are using DGS onClientGUIClick is unusable, use onDgsMouseClick instead, You'd better check wiki otherwise you may confuse this function with onClientGUIClick
-
Your code doesn't work with GUI. You will get the same warning. local shop = {window = {},edit={}}; addEventHandler("onClientResourceStart", resourceRoot, function() shop.window[1] = dgs:dgsCreateWindow((sW-483)/2, (sH-352)/2, 483, 352, "some window", false, 0xff000000, 25, nil, 0xC800ff00, nil, 0x96141414, 5, false); shop.edit[1] = dgs:dgsCreateEdit(419, 81, 40, 27, "1", false, shop.window[1]); addEventHandler("onDgsTextChange", shop.edit[1], function() -- do something... end,false); end);
-
I need further information about this. Try to give a string of complete code that can reproduce this problem.
-
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 (https://wiki.multitheftauto.com/wiki/Resource:Dgs) And use the following function. https://wiki.multitheftauto.com/wiki/DgsCreateMediaBrowser Note: only WEBM is supported currently.
-
if isElement(window) then
-
Juan_Camilo started following thisdp
-
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?
-
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