Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

chezzadev/police-system

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Police System

Configuration

local maxsecs = 500 -- Max seconds police can put people in jail for --

Perms/Ranks

Ranks (Only two for now more in the future if wanted) Located in your Database in the Rank Column

  • '0' - Not an Officer
  • '1' - Normal police officer (Access to general actions and most options)
  • '2' - Chief (Can add or remove other officers from the server)

Image: https://i.gyazo.com/a136756d7df8c4453416296f5029e78b.png

Installation

  • Install like any other FiveM Resource.
  • Then make sure to run the SQL file that is included in the resource to make it function correctly.
  • Join the game and it should create a new line in the database with your Steam Hex and rank next to it. Make sure to change the rank to 2 if you are an admin, so you can access the Police Management tab within the Menu.
  • Once done, load into your server and hit 'F5' and the menu should pop. Happy policing ! :)

Requirements

Credits

  • @Warxander - WarMenu Framework
  • @Huurkiller20 - Helped testing out the resource.

Support