# MISC::_SET_AI_MEMORY_REACTIONS_ENABLED

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

## Signature

```c
void _SET_AI_MEMORY_REACTIONS_ENABLED(BOOL enabled);
```

## Parameters

- `enabled` (`BOOL`)

## Returns

`void`

## Description

Used in CAIConditionAmbientAIMemoryReactionsEnabled

## Usage

### Lua

```lua
SetAiMemoryReactionsEnabled(enabled)

-- always available, by hash
Citizen.InvokeNative(0x6AC4AF46A6B8DFB2, enabled)
```

### JavaScript

```js
SetAiMemoryReactionsEnabled(enabled);

// by hash
Citizen.invokeNative('0x6AC4AF46A6B8DFB2', enabled);
```

### C#

```csharp
Function.Call((Hash)0x6AC4AF46A6B8DFB2, enabled);
```

- 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.

*Sources: alloc8or RDR3 NativeDB.*
