I’ve came across a weird problem. Hope that anyone can help me.
So I decided to make a job on the server but It seems like I cant connect to the DB with the script.
I’m using the following line in server/main.lua:
> require "resources/mysql-async/lib/MySQL" > MySQL:open("127.0.0.1", "essentialmode", "root", "")
and I get this error:
Error loading script server/main.lua in resource esx_military: server/main.lua:1: attempt to call a nil value (global 'require') stack traceback: server/main.lua:1: in main chunk Failed to load script server/main.lua.