Check if server scripts are running?

I’m pretty new to FiveM Script development and decided to use Javascript/typescript since I’m most familar with them instead of lua.

I’ve been wondering how do you guys check if your server scripts are executing in the right order or even running etc. Usually I would do console.log() to see if it anything happens, but that doesn’t seem to work on server scripts.

Do you guys send Chat Messages as an alternative or is there something else I don’t know. Thanks

Truthfully I’m not familiar with JS/TS in the FiveM ENV, however, I would still expect console.log to log to the server console.

Have you included the server file(s) in your resource manifest?

Oh I don’t know why I didn’t expect server console :laughing: it shows up there thanks!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.