[Release-Archived] Cops FiveM

Also, I can’t spawn objects anymore for some reason.

Is there away to make this onesync compatible?

Anyone having problems with this script working at all? Like the blips don’t even show up…

Everything in Citzens does not work ( Just says player not found )

Hey, so I got to the point where I can type in chat “/CopA” and it will give auto complete options. I type in “CopAdd” without a parameter and it tells me the correct usage. I then type it with a parameter and nothing happens please help.

Is this release outdated ?

hello i follow the instruction to install this script and its not working when i run the commands and to open menue i get this error -

InvokeNative: execution failed: Argument at index 0 was null.
SCRIPT ERROR: Execution of native 00000000406b4b20 in script host failed.

ref (@police/server/server.lua:215)
cfx>

no i got it working just fine

had the same issue turned out to be a db connection issue make sure you have the config.json in the ghmattimysql set correctly

I tried to type the command CopAddAdmin 1, but nothing worked. It does not show me any confirmation in the console

Anyone know how to make this work with say Faxes AOP so cops can shoot on PT But civs can’t (civs being the ones not clocked in)? Ive seen it before

for some reason it is not wrking for me the menu and the circle to clock in but the blips are on the map?

Anyone else having problems with Onesync and this? getting no players nearby and it also doesnt show player blips

I am wanting to do this too but no clue myself… (In relation to shooting on Peacetime)

as for onesync, I figured it out at one point would need to go through and look for it.

so my issue is i use zap hosting and i cannot add cops via console what should i do?

if you have your RCON setup; and admin perms through your server.cfg you can use the commands ingame

yea i use icecon with everything set up but no such commands exist?

make sure you capitalize it; should be CopAdd or CopAddAdmin

Does anyone know what this means, and how can I resolve this?

[ERROR] [MySQL] [police] An error happens on MySQL for query “CREATE TABLE IF NOT EXISTS police (identifier varchar(255) COLLATE utf8_unicode_ci NOT NULL,dept int(11) NOT NULL DEFAULT ‘0’,rank int(11) NOT NULL DEFAULT ‘0’) : []”: connect ETIMEDOUT