Cops_FiveM is a script for RP server mainly. It let servers to have a cops system with loadout, vehicles, inventory check, ...
You can find the complete list with all the features here.
You can find the changelog here.
A Discord server is available:
- Verify that you have installed the requirements from above.
- Download the latest version from the GitHub repository.
- Only copy the subdirectory police to the resources folder on your server.
- Edit config file as you want.
- Add start police in your server.cfg (make sure you start this resource after all dependencies).
- The first time when you enter the game you will need to add yourself to the police database.
you can do this in your server console enterCopAddAdmin 1press enter and you should receive a confirmation message.
When you restart your server you will see a mysql error inside your server console.
[ERROR] [MySQL] An error happens on MySQL for query "ALTER TABLE police ADD dept int(11) NOT NULL DEFAULT '0' {=}": Duplicate column name 'dept'
This is just confirmation that your new database column has been added.
- /copadd ID : Add the player as cop to the database.
- /coprem ID : Remove a player from the database.
- /coprank ID Rank : To change the rank of a police officer.
- /copdept ID Department : Add a player to a specific department id.
You can also use these commands with RCON (CopAdd / CopAddAdmin / CopRem / CopRank).
To see how to use them, just type the command you want without any parameter.
| ID | Name |
|---|---|
| 0 | Park Rangers |
| 1 | Los Santos Police Department |
| 2 | Sheriff's Department |
| 3 | State Highway Patrol |
| 4 | Prison Department |
| ID | Name |
|---|---|
| 0 | Trainee |
| 1 | Trooper |
| 2 | Master Police Officer |
| 3 | Sergeant |
| 4 | Lieutenant |
| 5 | Captain |
| 6 | Chief of Police |
| 7 | Admin Police Rank |
If you are a developer and would like to contribute any help is welcome!.
The contribution guide can be found here.
(Readme, Contributing and Changelog files from by FiveM Script, thanks ^^).
you can find some supported scripts here.
