Jump to content

dx Window


Mefisto_PL

Recommended Posts

I'm using dxgui_v1 from mtasa.community.com and I have problem with export functions.

function dxGUI ( ) 
local orange = export.dxGUI:dxGetTheme("Orange") 
export.dxGUI:dxCreateWindow(0, 0, 0.5, 0.4, "informations", true, orange) 
end 
addEventHandler("onClientResourceStart", getRootElement(), dxGUI ) 
  

What's wrong? ;/

Link to comment
function dxGUI ( ) 
local orange = exports.dxGUI:dxGetTheme("Orange") 
exports.dxGUI:dxCreateWindow(0, 0, 0.5, 0.4, "informations", true, orange) 
end 
addEventHandler("onClientResourceStart", getRootElement(), dxGUI ) 

exports: Call to non-running client resource (dxGUI) [string "?"]

exports.dxGUI:dxCreateWindow(resourceRoot,555,600,555,555,"blablalb",tocolor(255,255,255,255),"default","Orange") 

this should work and make sure the resource is really named dxGUI

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...