Vérifie si le joueur local est actuellement menotté.
Retourne si le client/joueur local est menotté.
exports["jobs_creator"]:isPlayerHandcuffed()
-- This code will continuously check if the local (self) player is handcuffed-- If so, specified controls will be disabledCitizen.CreateThread(function() while true do Citizen.Wait(0) if(exports["jobs_creator"]:isPlayerHandcuffed())then DisableControlAction(0, 22, true) -- Disable jump end endend)