-
Posts
28 -
Joined
-
Last visited
Everything posted by anchor
-
nice and thanks! could you post the features list maybe?
-
the new custom animation looks lit!! gj mta team! and there is localization for indonesian, nice
-
I need acl.xml and mtaserver.conf to make this works
-
how to destroy a window? destroyElement seems not working for me
-
exports.GTIclothes:selectSkinFromStore(player) where is GTIclothes resource? thanks for the resource btw. still try to fix some problems to make the gm works!
-
i got this error on create a dgsDxCreateWindow [2018-04-19 14:14:34] ERROR: dgs\Core\window.lua:32: attempt to index field 'closeButtonColor' (a nil value)
-
Reporting version 3.321, my dgs edit not rendering got this error ERROR: dgs\client.lua:539: attempt to index local 'eleData' (a nil value) [DUP x72]
-
This is great. i'll leave mark here
-
Hello, i got this error after update to the latest version did the function removed?
-
i have lag issue after creating some dgs objects this issue occured after last update, idk if there is something wrong with my script idk how to debug it aswell
-
i think onClientDgsDxComboBoxSelect 2nd params is not working properly now, it doesnt return selected item. i got this bug after update the latest dgs local qiw = DGS:dgsDxCreateComboBox(0.1, 0.3, 0.20, 0.04, true) DGS:dgsDxComboBoxAddItem( qiw, "1" ) DGS:dgsDxComboBoxAddItem( qiw, "2" ) DGS:dgsDxComboBoxAddItem( qiw, "3" ) addEventHandler( "onClientDgsDxComboBoxSelect", qiw, function ( prev, current ) outputChatBox( current ) end )
-
i wonder how to create a grid like the calendar in the preview, it's really hard to set the position of the date
-
Hello, How do you make the grid stacked on top each other? I try to make it, but it's really pain because it's not like bootstrap/html I have been make it, but its hard to implement it into my another scripts So, i just wonder how is your code or at least give me a logic how to make it. I'm sorry if it's OOT, and i hope you understand my english.
-
update: i use this https://wiki.multitheftauto.com/wiki/Filepath to get the function working.. and another question is, the color code, i dont know what color code did dsg use?
-
i got an error while create a button with background image [2017-09-05 13:40:01] WARNING: dgs\client.lua:477: Error loading image @ 'dxDrawImage' [images/skins/1.png] the '1.png' is placed on my resource i think i need an example for this
-
how to destroy many elements that have no parent? maybe there is a function like getResourceGUIElement ?
-
object.value = "text"; //setter object.value; //getter learn more about html dom and js > https://www.w3schools.com/jsref/prop_text_value.asp
-
Well that's not working. Thank you anyway by this issue, now i try to figure out how the onClientResourceStart works, because of i just try to log the 'accounts' resource status and it's 'running'. I have no idea when it was start running and how can i handle it.
- 5 replies
-
- resource
- onclientresourcestart
-
(and 1 more)
Tagged with:
-
Edit: i just found that the resource is running. i think i just wrong handle it with onClientResourceStart, maybe. Idk what event i should use the event has been added in the 'accounts' resource.
- 5 replies
-
- resource
- onclientresourcestart
-
(and 1 more)
Tagged with:
-
Hello I'm creating a script that will trigger an event if a resource started. Serverside addEventHandler("onResourceStart", resourceRoot, function() local accResource = getResourceFromName("accounts") if (accResource) then outputServerLog("Initializing account resource.") startResource(accResource) -- start another res here else shutdown("Didn't find a required resource 'accounts' from the server. Shutting down...") end end ) Clientside function initStartup(resource) --outputChatBox( getResourceName( resource ) ) if (getResourceName(resource) == "accounts") then triggerEvent("accounts:initStartup", localPlayer) end end end addEventHandler("onClientResourceStart", root, initStartup) The problem is on the clientside, the 'accounts' resource isn't started. But, in server the 'accounts' resource has been started. So i cant trigger the "accounts:initStartup" event. I have no idea why, so maybe someone can help me, thanks
- 5 replies
-
- resource
- onclientresourcestart
-
(and 1 more)
Tagged with:
-
I got same related issue. I cant open my clientscript log after the last update (i think, i remember mta auto updating and then this issue comes). When the MTA sa is running, notepad or sublime cant open the clientscript file "the process cannot access the file because it is being used by another process" it never happended before, it's hard to log the error while we cant open both mta sa and clientscript file