Error running system event handling function for resource police: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: citizen:/scripting/lua/scheduler.lua:394: No such export mysql_fetch_scalar in resource mysql-async
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:394: in metamethod ‘__index’ @mysql-async/lib/MySQL.lua:134: in field ‘fetchScalar’
server/server.lua:417: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:124: in function citizen:/scripting/lua/scheduler.lua:123
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:39: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:123: in function citizen:/scripting/lua/scheduler.lua:92
No such command CopAdd.
Im getting this in game and in rcon when ever I try to use the commands?
Ok, I’ve got the mysql working. I can add myself and others to ranks but the “F5” button doesn’t do anything.
So I have 2 questions. Why isn’t this working, and what is the numerical value of “F7” so I can change it.
EDIT: Nothing seems to be working but the chat with the script.
Hi, I have disabled the whitelist, at the moment I want anyone who joins, to have the ability to become a cop. However, when they try to clock in, the police cloackroom menu is blank unless I add them to the database. How would I go about fixing this?
@Folk_ZA : You haven’t followed instructions about installation. Please drop in ressources only the police folder and not the whole Cops_FiveM-master folder