When I checked the docs it was saying that new keyword for __resource.lua is fxmanifest.lua but when I changed my file name from the old version to the new version my client started to refuse connection to the server due to __resources.lua not being present. This seems odd to me. Should I not use fxmanifest.lua?
My scripts are written in C# only if that’s going to make any difference…
it is complaining from missing _resource.lua. That’s the whole point of my using a fxmanifest. Not to use __resource.lua as it is deprecated stated by the developers
I am using the latest recommended artifact(2430). I suppose this is the LTS version as it is defined as ‘recommended’. Maybe that’s my fault, am I supposed to use latest version rather than the LTS(latest recommended) one to be able to use fxmanifest?
my file extension is fxmanifest.lua, pretty sure that’s correct.
I found the problem. If the encoding of the LUA file is not UTF-8 FiveM can not load it. That’s the issue. Changing my encoding to UTF-8 fixed the issue.
As far as I know LUA intermediate supports almost all byte encoding but this is probably regarding the implementation done on FiveM side.