Configuration
Check the instructions below.
All configuration options are located in config.lua
.
Framework
Framework
Server framework. Options: new-qb
, esx
, old-qb
"new-qb"
Police Job Names
PoliceJobNames
Jobs allowed to use handcuffs.
["police", "sheriff"]
Commands and Timers
Command
Command to open the electronic menu.
"emenu"
UpdateTime
Interval for updating electronic cuffs (seconds).
1
Minigame
Enables a minigame for cuffing.
false
Menu Dialogs
Define actions available in the electronic menu:
Items and Animations
handcuffs
Configures soft and hard cuffing.
Animations for player
and target
.
electroniccuff
Configures electronic cuffs.
Animations for player
and target
.
headbag
Reserved for headbagging.
Empty by default.
Notifications
Customize notifications for various actions:
How to Use
Basic Features
Open the Menu Use the
/emenu
command to access the electronic menu.Choose Cuff Type
Soft Cuff: Allows limited movement.
Hard Cuff: Restricts all actions.
Advanced Actions
Drag or undrag a player.
Place or remove a player from a vehicle.
Electronic Cuffs
Track players using GPS.
Apply shocks if necessary.
For Developers
Exports
Client-Side
Use the provided callback functions for custom integrations:
gfx-cuffsystem:client:SoftCuff
gfx-cuffsystem:client:Hardcuff
gfx-cuffsystem:client:DragUndrag
gfx-cuffsystem:client:PutOutOfVehicle
Server-Side
Integrate with your framework for logging or additional actions.
Last updated