-- This code will continuously check if the local (self) player is handcuffed-- If so, specified controls will be disabledCitizen.CreateThread(function() whiletruedo Citizen.Wait(0)if(exports["jobs_creator"]:isPlayerHandcuffed())thenDisableControlAction(0, 22, true) -- Disable jumpendendend)
Where to insert the code?
You can place the code in any client file of your scripts
isHandcuffed
boolean
true if the player is handcuffed. false if the player is not handcuffed