[Release-Archived] Cops FiveM

rename the script folder to police

Everythings setup, database and everything and no errors again, i renamed the folder to police. Now when i go into the police station i go to the menu and the options are not there and its just a tiny little rectangle that says police. I restarted 6 times and deleted the cache many. Not too sure why its not working.

So - where does it compile the DB then?

Im using couchdb for 1.3.0 and whenever i use /copadd 1 it returns w the usage command. I dont get any errors, but cant add any cop. How would i make it so it used permission levels. So 11 would give them access. Or fix this.

I see.

Will I have to do like it suggests in mysql-async?

server_script ‘@mysql-async/lib/MySQL.lua’??

Not even sure how to set that up.

@Account_CrunchHD : Please check once again if you don’t have any error server side and client side

@ExiledSpark : Just read this : https://github.com/brouznouf/fivem-mysql-async and questions more specific about MySQL-Async should be ask in the MySQL-Async topic

@vizzra : Upgrade to 1.4 (no more couchdb support)

@Dreigh : The dragging issue still here ?

how to fix this.
i am now using msql

Hey Kyomin. Do you by chance know why everytime some cops disconnects, they have to be added back?

So 1.4 takes away couchdb support, is that correct???

First I say that SUCKS and second if the question would have been answered in place of a vague response, I wouldn’t have asked. So are you going to set up the servers that couchdb support was taken away from with sql, right???

Official version is 1.3 so CouchDB still support but it will be remove in 1.4 (at the moment, 1.4 is in early access state), it has been announce a long time ago. If I remove CouchDB support, it is because I don’t have much time to work on Cops so I focus on SQL (I know how it works). But, if you want to use CouchDB with 1.4, you have to modify cops to make it work with couchdb.
So yes, I recommend to people who wants use Cops 1.4 to use SQL, but you can also use both couchdb and mysql as Cops doesn’t require essentialmode now.
You can just setup cops with mysql and others scripts with couchdb

Alrighty, thanks for the clarification…

Can anybody check if the issue https://github.com/Kyominii/Cops_FiveM/issues/84 still here ?

how I remove the global chat completely on cops fivem is giving me duplicates

Are you using the last version of 1.4 ?

yeah I am latest version
this is what am getting, am already using a script for globa and local Capture

have you this line in server.lua ? https://github.com/Kyominii/Cops_FiveM_dev/blob/master/police/server/server.lua#L209

EDIT : I hadn’t see your screen, the chat system is probably uncompatible, so you have to disable it ^^

yes I have that line

Modify this : https://github.com/Kyominii/Cops_FiveM_dev/blob/master/police/config/config.lua#L20
config.lua file

I did already just removes the unit number but posting still shows my name