# PED::_SET_PED_BLACKBOARD_BOOL

- **Hash:** `0xCB9401F918CB0F75`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedBlackboardBool`
- **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_BLACKBOARD_BOOL

## Signature

```c
void _SET_PED_BLACKBOARD_BOOL(Ped ped, const char* variableName, BOOL value, int removeTimer);
```

## Parameters

- `ped` (`Ped`)
- `variableName` (`const char*`)
- `value` (`BOOL`)
- `removeTimer` (`int`)

## Returns

`void`

## Description

*Source: femga rdr3_discoveries*

```
// 0xCB9401F918CB0F75
void N_0xCB9401F918CB0F75(Ped ped, char* walkstyleName, BOOL enable, Any p3)
/*
List of walkstyleNames:
    "MP_Style_Default"
    "MP_Style_Casual"
    "MP_Style_Crazy"
    "MP_Style_Flamboyant"
    "MP_Style_Gunslinger"
    "MP_Style_Refined"
    "MP_Style_SilentType"
    "MP_Style_Greenhorn"
    "MP_Style_Veteran"
    "MP_Style_EasyRider"

Apply walkstyle:
Citizen.InvokeNative(0xCB9401F918CB0F75, PlayerPedId(), "MP_Style_EasyRider",true,-1)

Before applying other walkstyles, dont forget to remove existing one:
Citizen.InvokeNative(0xCB9401F918CB0F75,PlayerPedId(), "MP_Style_EasyRider", 0, -1);
*/
```

## Usage

### Lua

```lua
SetPedBlackboardBool(ped, variableName, value, removeTimer)

-- always available, by hash
Citizen.InvokeNative(0xCB9401F918CB0F75, ped, variableName, value, removeTimer)
```

### JavaScript

```js
SetPedBlackboardBool(ped, variableName, value, removeTimer);

// by hash
Citizen.invokeNative('0xCB9401F918CB0F75', ped, variableName, value, removeTimer);
```

### C#

```csharp
Function.Call((Hash)0xCB9401F918CB0F75, ped, variableName, value, removeTimer);
```

- 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::_REMOVE_PED_BLACKBOARD_BOOL](https://natives.borderlinerp.com/natives/PED/_REMOVE_PED_BLACKBOARD_BOOL.md)
- [PED::_GET_PED_BLACKBOARD_BOOL](https://natives.borderlinerp.com/natives/PED/_GET_PED_BLACKBOARD_BOOL.md) — Can be used to get a peds foliage active status: variableName = FoliageActive

*Sources: alloc8or RDR3 NativeDB, femga rdr3_discoveries.*
