FiveM-Scripts / Cops_FiveM

A cops script for FiveM

Home Page:https://forum.fivem.net/t/release-cops-fivem/17460

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cops_FiveM

GitHub release GitHub license

Cops_FiveM is a resource mainly for RP servers. It gives servers a cops system with loadouts, vehicles, fines, ...
You can find a complete overview with all the features here.

Changelog

You can find the latest changes here.

Community Support

A Discord server is available:

Requirements

If you are using a database then you need to setup ghmattimysql before you can start using Cops_FiveM.
In case you are using ZAP-Hosting and don't know what your database name/username/password is then watch this video.

  • Download ghmattimysql
  • Extract the zipfile and make sure that the folder is named ghmattimysql.
  • Open ghmattimysql/config.json and edit the config lines with your db name/user/password/host.
  • Copy the ghmattimysql folder to resources.
  • Open server.cfg and add start ghmattimysql.

Installation

  1. Verify that you have installed the requirements from above.
  2. Download the latest version from the GitHub repository.
  3. Only copy the subdirectory police to the resources folder on your server.
  4. Edit config file to your preferences
  5. Add start police in server.cfg (make sure you start this resource after all dependencies).
  6. 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 enter CopAddAdmin 1 or CopAdd 1 press enter and you should receive a confirmation message.

Commands

You can use these commands with RCON (CopAdd / CopAddAdmin / CopDept/ CopRem / CopRank).
To see how to use them, just type the command you want without any parameter.

Departments

ID Name
0 Park Rangers
1 Los Santos Police Department
2 Sheriff's Department
3 State Highway Patrol
4 Prison Department

Ranks

ID Name
0 Trainee
1 Trooper
2 Master Police Officer
3 Sergeant
4 Lieutenant
5 Captain
6 Chief of Police
7 Admin Police Rank

Contribute

If you are a developer and would like to contribute any help is welcome!.
The contribution guide can be found here.

About

A cops script for FiveM

https://forum.fivem.net/t/release-cops-fivem/17460

License:GNU Affero General Public License v3.0


Languages

Language:Lua 95.8%Language:JavaScript 1.9%Language:CSS 1.8%Language:HTML 0.5%