The title basically says all. I want to use SQLite, but I’m not sure if it’s possible to use within the Lua language in FiveM scripts? I believe I read somewhere that the require
keyword no longer works in scripts a long while back ago. Just looking for some insight/direction, thanks!
Best Regards,
Badger
It’s now almost a year later.
Did you find a viable way to do SQLite?
Dangnabbit. I guess it’s time to do some C# and export some functions.
With something this trivial, it seems odd nobody has already done it.
Feels like there is some roadblock I’m not seeing yet.
I asked around and it turns out you can use sql.js just fine.
It’s just… I… I’m too dumb to understand how it works.