Another tip that others didn't give you is to check if you are running any C# resource. Sadly, FiveM has a bad support for C# and they didn't implement Mono/C# properly, so it has a lot of issues and even properly written code will run bad.