I don’t recommend using JS or C# for gameplay logic in FiveM with game natives.
Instead, I highly recommend using JS/TS for all UI-related tasks, while reserving LUA as the main language for gameplay logic. LUA is better optimized for tasks within FiveM and allows you to accomplish most of what you need efficiently.
Additionally, LUA is a genuinely easy language to start with and learn.
1 Like