# PED::_SET_PED_GRAPPLE_FLAG

- **Hash:** `0x789DABD18E9024DB`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedGrappleFlag`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_SET_PED_GRAPPLE_FLAG

## Signature

```c
void _SET_PED_GRAPPLE_FLAG(Ped ped, int flag, BOOL enable);
```

## Parameters

- `ped` (`Ped`)
- `flag` (`int`)
- `enable` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedGrappleFlag(ped, flag, enable)

-- always available, by hash
Citizen.InvokeNative(0x789DABD18E9024DB, ped, flag, enable)
```

### JavaScript

```js
SetPedGrappleFlag(ped, flag, enable);

// by hash
Citizen.invokeNative('0x789DABD18E9024DB', ped, flag, enable);
```

### C#

```csharp
Function.Call((Hash)0x789DABD18E9024DB, ped, flag, enable);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## See also

- [PED::_CLEAR_PED_GRAPPLE_FLAG](https://natives.borderlinerp.com/natives/PED/_CLEAR_PED_GRAPPLE_FLAG.md)
- [PED::_GET_PED_GRAPPLE_FLAG](https://natives.borderlinerp.com/natives/PED/_GET_PED_GRAPPLE_FLAG.md)

*Sources: alloc8or RDR3 NativeDB.*
