kyominii i mean what id do i type in and where exacly also how do i choose players to be cops too
ty for responding too
There is a whitelist system with commands (just read the OP )
If you type the command in RCON or in game, you’ll see what kind of id you can give to the script (you can give the in game id and the steam:hex64id)
Then what did i do wrong here ?
And is this the steam hex id cmd is talking about?
Also is this the game id the cmd is talking about ?
&Ty so much for responding and trying to help
You have to use
CopAdd steam:110000106e1eac6
or
CopAdd 1
Not both of them in 1 command
oh
ok
i thought both ty xD im lost today
or does that mean i have been added to a cop
also when i add ranks do i call them by their numbers for example admincop is 7 do i type 7 or admincop ?
the error means you haven’t installed mysql-async
And you can use CopAddAdmin if you want to be an admin
where do i put mysql-async and how do i enable it ?
when i download the mysql-async
Check the mysql-async thread, it’s not the right place for that question
You can also read, all information you need are in the github
i have placed it in the recourse and typed server_script ‘@mysql-async/lib/MySQL.lua’ on the recourse lua for the police
but this time it says CopAdmin:BennonoBoy
whaaat ??
the only things to do it download mysql-async, and add start mysql-async
in server.cfg then configure it
Why did you modified police ???
Please READ instructions, not imagine them
I think you should join the discord
oh ok but IT Said add blah blah blah to all recources that recuire The file
This part is for developpers, not users
citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
Copa
cfx> CopAddSending heartbeat to live-internal.fivem.net:30110
Co
cfx> CopAddAdmin 1
Error running system event handling function for resource police: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/server.lua:375: attempt to index a nil value (global ‘MySQL’)
stack traceback:
server/server.lua:375: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
cfx> No such command CopAddAdmin.
Sending heartbeat to live-internal.fivem.net:30110
Now IT says this ?