# PED::_SET_PED_BLACKBOARD_INT

- **Hash:** `0x5F53010C4C3F6BAF`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedBlackboardInt`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_SET_PED_BLACKBOARD_INT

## Signature

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

## Parameters

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

## Returns

`void`

## Description

https://github.com/femga/rdr3_discoveries/tree/master/AI/BLACKBOARDS
Blackboard natives allow you to apply and check certain data to/for peds.
Blackboard bools, floats and strings are subdivided into 6 sections: "all", "animation", "any", "code", "global" and "script"
Most changes are only visible for "script" blackboards, some "script" blackboards change ped motions
"removeTimer" is self-removal timer, can be "-1" so your data will not be removed by the game (forever); 100 = 1 second

## Usage

### Lua

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

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

### JavaScript

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

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

### C#

```csharp
Function.Call((Hash)0x5F53010C4C3F6BAF, 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_INT](https://natives.borderlinerp.com/natives/PED/_REMOVE_PED_BLACKBOARD_INT.md)

*Sources: alloc8or RDR3 NativeDB.*
