Hello,
I apologize for my stupid question, but I am new here and somehow I can not orient myself. I would like to create my own FiveM server. I have experience with SA-MP. It was possible to turn on and connect to the FiveM server. But if I want to create something, I can’t find where the error log is. (Thinking error log for server-side scripts and then error log for client-side scripts). I searched the entire FiveM server folder and found nothing.
Thank you in advance for your answers.
There’s no log file, errors are logged into the server console
You could use something like tee to output to a file and the console
Thank you for answer. I think it works strangely. If I write a server-side script where I use a function that does not exist, there is no error in the console.
Fot example:
AddEventHandler('something', function()
ThisIsNoExistingFunctiion()
end)
The event you had earlier was a client event so it never triggers so it would never trigger an error
1 Like
So, does the console print real-time errors? Is there no compiler?
That’s not how Lua works, it will only return errors like “x is not defined” or “bla is not a function” if that part of code is called
And how its work in client-side scripts? Where is real-time errorlog?
In your F8 console? or check your citizenfx.log in your client fivem application data