# EVENT::SET_DECISION_MAKER

- **Hash:** `0x8AE2F981CDDB8FA4`
- **Namespace:** EVENT
- **Runtime name (Lua/JS):** `SetDecisionMaker`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/EVENT/SET_DECISION_MAKER

## Signature

```c
void SET_DECISION_MAKER(Ped ped, Hash name);
```

## Parameters

- `ped` (`Ped`)
- `name` (`Hash`)

## Returns

`void`

## Usage

### Lua

```lua
SetDecisionMaker(ped, name)

-- always available, by hash
Citizen.InvokeNative(0x8AE2F981CDDB8FA4, ped, name)
```

### JavaScript

```js
SetDecisionMaker(ped, name);

// by hash
Citizen.invokeNative('0x8AE2F981CDDB8FA4', ped, name);
```

### C#

```csharp
Function.Call((Hash)0x8AE2F981CDDB8FA4, ped, name);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

*Sources: alloc8or RDR3 NativeDB.*
