Giter Site home page Giter Site logo

monkeywhisper / cqc-mugshot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cqc-scripting/cqc-mugshot

4.0 0.0 0.0 37 KB

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.

Lua 100.00%

cqc-mugshot's Introduction

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

cqc-mugshot's People

Contributors

carmomeister avatar eoinmcbennett avatar quinn101 avatar realsixgrams avatar schbang avatar

Stargazers

 avatar  avatar  avatar  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.