Elohim Posted April 19, 2016 Share Posted April 19, 2016 Hello, im using SDT_GUI for first time, and i cant create a window, debugscript returns that dont exist the main theme, this is the code im using : g = exports.SDT_GUI function mainWindow() window = g:dxCreateWindow(resourceRoot,555,600,555,555,"blablalb",tocolor(255,255,255,255),"default","Orange") end addEventHandler("onClientRender",root,mainWindow) Link to comment
Simple0x47 Posted April 19, 2016 Share Posted April 19, 2016 Be sure that the theme is defined in the resource (SDT_GUI). Link to comment
Elohim Posted April 19, 2016 Author Share Posted April 19, 2016 Yes it is, i checked the meta.xml and the themes.xml files, i also checked all the themes into the resource, and Orange is present everywhere, but in case i changed the theme to other, like Lighter Black or Subaru, all of they returns me that error. Link to comment
Simple0x47 Posted April 19, 2016 Share Posted April 19, 2016 Then maybe the error of the arguments may be incorrect. Check that please. Link to comment
Elohim Posted April 21, 2016 Author Share Posted April 21, 2016 Repaired, Thanks, that was. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now