73 posts
Location
Hoquiam Wa
Posted 07 January 2017 - 11:30 PM
I'm making an API and i have it programmed to tell the user if they do something wrong but when it sends the error() message it gives the line that my function is on in the API file.
7083 posts
Location
Tasmania (AU)
Posted 07 January 2017 - 11:43 PM
Sounds like you want to set an error level of 2.
https://www.lua.org/pil/8.5.html
73 posts
Location
Hoquiam Wa
Posted 08 January 2017 - 12:22 AM
I had just figured this out before looking back here by looking into the term APIfile thx for the help though :)/>