RedM Natives

_SET_AI_MEMORY_REACTIONS_ENABLED

Used in CAIConditionAmbientAIMemoryReactionsEnabled

Hash0x6AC4AF46A6B8DFB2
Runtime nameSetAiMemoryReactionsEnabled
NamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_AI_MEMORY_REACTIONS_ENABLED(BOOL enabled);

Parameters

NameTypeDescription
enabledBOOL—

Returns void

Description

Used in CAIConditionAmbientAIMemoryReactionsEnabled

Usage

Lua
SetAiMemoryReactionsEnabled(enabled)

-- always works, by hash
Citizen.InvokeNative(0x6AC4AF46A6B8DFB2, enabled)
JavaScript and C#
JavaScript
SetAiMemoryReactionsEnabled(enabled);

// by hash
Citizen.invokeNative('0x6AC4AF46A6B8DFB2', enabled);
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.