Jump to content

[QUESTION] Debugscript


WASSIm.

Recommended Posts

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

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...