qb-policejob/client/interactions.lua
on around line 384
local function IsHandcuffed()
return isHandcuffed
end
exports('IsHandcuffed', IsHandcuffed)
local function SetHandcuffed(state) isHandcuffed = state end exports('SetHandcuffed', SetHandcuffed)
local function SetEscorted(state) isEscorted = state TriggerEvent('hospital:client:isEscorted', isEscorted) end exports('SetEscorted', SetEscorted)
local function SetHandcuffStatus(state) TriggerServerEvent('police:server:SetHandcuffStatus', state) end exports('SetHandcuffStatus', SetHandcuffStatus)
# Replace Code for qb-minigames
- in `qb-minigames/html/js/skillbar.js` around line 18
- backup you're own code
```js
const difficultySettings = {
easy: {
greenZoneSize: 2, // adjust this in small increments
speed: 15,
streaksRequired: 1,
},
medium: {
greenZoneSize: 2,
speed: 25,
streaksRequired: 2,
},
hard: {
greenZoneSize: 2,
speed: 35,
streaksRequired: 3,
},
};
mh-breakcuffs/client/main.lua
on line 9 to you're own export skillbar script.