[ESX] [Free] - Unresticted 'soft' handcuffs

The softcuff script contains less restrictions on the cuffed individual and added customization in the form of optional items to use for cuffing/handcuffing and releasing individuals. In essence this script is allows the cuffed individual freedom of movement while restraining their ability to attack. The goal of this was to provide a secondary option for cuffing with officers and allow criminals the opportunity to handcuff their hostages.

Script allows for minor customization in the form of allowing item requirements for cuffing and releasing.

GitHub:
https://github.com/GouveiaXS/softcuff/tree/main

Config Snip:
Capture

YouTube Preview:
https://youtu.be/HLrSA7cXmpE

DISCLAIMER: The basis of this script is taken from esx_policejob and has no performance improvements to handcuffing. This script is meant to allow for easier access to customization and enable different interactions to help benefit in game RP.

Other Free Scripts By Me:
Elevators
Free VIN Scratch
Car Flipping
Metal Detectors
Loot Boxes
Gang Heist
Police Database Search
Police K9
Yacht Heist
Billing
Medical Diseases / Illnesses
Drug Harvest
Police Cell Ping
Number Game
Civilian Job Mega Pack
Simple Craft
Target Ping
Full Steal
Bank Truck Robbery

Paid Scripts by Me:
Fuel Delivery Job
Rep Based Vehicle Heist
Mining/Delivery Job
Police Tracker
Police Impound & Tow Job
Bank Job

When I go to softcuff, the item I use, handcuffs, gets removed from my inventory. Even if there isn’t a player close to me. How can I make it to where the item doesn’t disappear?

Please move this to realeses :blush:.

In the server.lua, comment out the lines that have this:
xPlayer.removeInventoryItem