# Get if local player is handcuffed

Returns if the **local** client/player is handcuffed

## Export

```lua
exports["jobs_creator"]:isPlayerHandcuffed()
```

### Return value

| Name           | Data Type | Description                                                                 |
| -------------- | --------- | --------------------------------------------------------------------------- |
| `isHandcuffed` | boolean   | true if the player is handcuffed. false if the player is **not** handcuffed |

## Example

```lua
-- This code will continuously check if the local (self) player is handcuffed
-- If so, specified controls will be disabled
Citizen.CreateThread(function() 
    while true do
        Citizen.Wait(0)
        
        if(exports["jobs_creator"]:isPlayerHandcuffed())then
            DisableControlAction(0, 22, true) -- Disable jump
        end       
    end
end)
```

## Where to insert the code?

You can place the code in any client file of your scripts


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.jaksam-scripts.com/jobs-creator/client/actions/get-if-local-player-is-handcuffed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
