build the sql db server (phpmyadmin/sql @port 3306,
yet when i start the server, it still tells me im using false credentials… (build same name on db, giving all permissions on wildcard, and even global)
im feeling like it is still trying to use couchdb (also running for essentials) for some reason…
@Qpanther I’ve only ever installed it once so my memory of how to get it working isn’t perfect. If I recall correctly you’ll need mysql-async if you don’t already have it. Then you’ll want to put the following in your main server.cfg
set mysql_connection_string "server=127.0.0.1;database=<schema>;userid=<user>;password=<password>"
replacing everything in angular brackets with the proper settings for your database. (change the 127.0.0.1 too, if your SQL server isn’t on the same machine)
Error running call reference function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:348: server/main.lua:212: attempt to index a nil value (field ‘?’)
stack traceback:
server/main.lua:212: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:334: in function citizen:/scripting/lua/scheduler.lua:333
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:333: in function citizen:/scripting/lua/scheduler.lua:332
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:348: in function citizen:/scripting/lua/scheduler.lua:319
I get that code when I try and do /copadd 110000000 …
HI, im trying to use this mod on my server but every time all i get is “couldnt load resource police :(”. I have followed the setup tutorial but i still get this. Does anyone know why this is happening and what should i do to fix it?
no error its just once I add someone they can join the police force but when they disconnect and re-join it resets and I have to re-add them. any help?