GithubHelp home page GithubHelp logo

grimshadwz / cops_fivem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fivem-scripts/cops_fivem

0.0 0.0 0.0 397 KB

A cops script for FiveM

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

License: GNU Affero General Public License v3.0

Lua 95.78% HTML 0.53% JavaScript 1.91% CSS 1.78%

cops_fivem's Introduction

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.

cops_fivem's People

Contributors

dexslab avatar ghermans avatar pongo1231 avatar t-valette avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.