Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
/ cqc-mugshot Public archive

CQC-Mugshot is a mugshot system for use with QB servers to allow players to take pictures of suspects and then have them uploaded to a web hook.

Notifications You must be signed in to change notification settings

CQC-Scripting/cqc-mugshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CQC-MUGSHOT

Banner

CQC-Mugshot is a mugshot system for use with QB servers to allow players to take pictures of suspects and then have them uploaded to a webhook.

INSTALLATION GUIDE

  1. Add the cqc-mugshot folder into your resources folder
  2. Add The Following Line to qb-target>config.lua>Config.BoxZones (change the location etc as needed)
-- CQC-Mugshot
['CQCMugshot'] = {
		name = 'CQCMugshot',
		coords = vector3(-556.26, -132.99, 33.75),
		debugPoly = false,
		length = 0.50,
		width = 0.65,
		heading = 131.24,
		maxZ = 34.30,
		minZ = 33.75,
		options = {
			{
				icon = 'fas fa-camera',
				label = 'Take Suspects Mugshots',
				job = {
					['police'] = 0,
					['sast'] = 0,
				},
				event = 'cqc-mugshot:client:takemugshot',
				type = 'client',
			},
		},
		distance = 2.0,
	},

FEATURES

  • Teleports player into correct area
  • All client sided to improve performance
  • Mugshot Board with players information on
  • Automatically takes and uploads the images to a discord webhook
  • Highly configurable
  • Supports all MLOs via the config also has an option for no MLO's which TP's suspects to an IPL and back
  • QB Callback to request latest mugshots on that session for a citizenID

NOTE

The config option Config.CQCMDT is built in for future releases from CQC. We might release the MDT we are working on. If you want to pull the images into an existing MDT system this config option simply creates a server object with the citizenid and the images urls which can be pulled on demand.

IMAGES

screenshot screenshot (1) screenshot (2)

CREDIT

Lassemc475 - https://github.com/Lassemc475/fivem-scripts/tree/master/vrp/lmc_mugshot Used for understanding how the mugshot board works

DEPENDENCIES

About

CQC-Mugshot is a mugshot system for use with QB servers to allow players to take pictures of suspects and then have them uploaded to a web hook.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages