Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
ped = PlayerPedId()
if cuffed then
DisableControlAction(0, 69, true) -- INPUT_VEH_ATTACK
DisableControlAction(0, 92, true) -- INPUT_VEH_PASSENGER_ATTACK
DisableControlAction(0, 114, true) -- INPUT_VEH_FLY_ATTACK
DisableControlAction(0, 140, true) -- INPUT_MELEE_ATTACK_LIGHT
DisableControlAction(0, 141, true) -- INPUT_MELEE_ATTACK_HEAVY
DisableControlAction(0, 142, true) -- INPUT_MELEE_ATTACK_ALTERNATE
DisableControlAction(0, 257, true) -- INPUT_ATTACK2
DisableControlAction(0, 263, true) -- INPUT_MELEE_ATTACK1
DisableControlAction(0, 264, true) -- INPUT_MELEE_ATTACK2
DisableControlAction(0, 24, true) -- INPUT_ATTACK
DisableControlAction(0, 25, true) -- INPUT_AIM
DisableControlAction(0, 21, true) -- SHIFT
DisableControlAction(0, 22, true) -- SPACE
DisableControlAction(0, 288, true) -- F1
DisableControlAction(0, 289, true) -- F2
DisableControlAction(0, 170, true) -- F3
DisableControlAction(0, 167, true) -- F6
DisableControlAction(0, 168, true) -- F7
DisableControlAction(0, 57, true) -- F10
DisableControlAction(0, 73, true) -- X
end
end
end)