WASSIm. Posted November 9, 2019 Share Posted November 9, 2019 Hi guys i have question, Why some resource show me on debug without resource name Link to comment
komal Posted November 9, 2019 Share Posted November 9, 2019 because mta debug use the Lua debug librarya so Lua only write file line + function error without resource name you can fix your debugscript view with the script addEventHandler ("onClientDebugMessage",getRootElement(), function(message,level,file,line) outputDebugString ("\n ==============================================") outputDebugString (message) outputDebugString ("file :" .. file) outputDebugString ("line :" .. line) end) Link to comment
Castillo Posted November 10, 2019 Share Posted November 10, 2019 @komal Thats incorrect, the debugscript shows the resource name. Link to comment
WASSIm. Posted November 14, 2019 Author Share Posted November 14, 2019 So any solution ? Link to comment
MIKI785 Posted November 14, 2019 Share Posted November 14, 2019 Maybe it's a compiled script? That sometimes messes up the debug output, but usually it's only the line number that is missing, not the resource name (at least in my case). Link to comment
Overkillz Posted November 14, 2019 Share Posted November 14, 2019 Might you are running another scripts that practically does something like this ? On 09/11/2019 at 23:59, komal said: addEventHandler ("onClientDebugMessage",getRootElement(), function(message,level,file,line) outputDebugString ("\n ==============================================") outputDebugString (message) outputDebugString ("file :" .. file) outputDebugString ("line :" .. line) end) 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