_CREATE_AI_MEMORY
Based on its name and signature, here is our best reading:
Creates an AI memory entry of type aiMemoryType from the args structure.
Signature
void _CREATE_AI_MEMORY(Any* args, int aiMemoryType); // 0x88BC5F4AEF77FC4E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | args | Any* (out pointer) |
| 2 | aiMemoryType | int |
Facts
| Name | _CREATE_AI_MEMORY |
|---|---|
| Hash | 0x88BC5F4AEF77FC4E |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local args = Citizen.InvokeNative(0x88BC5F4AEF77FC4E, -- _CREATE_AI_MEMORY
Citizen.PointerValueInt(), -- Any* args
0 -- int aiMemoryType
)
print(args)const args = Citizen.invokeNative("0x88BC5F4AEF77FC4E", // _CREATE_AI_MEMORY
Citizen.pointerValueInt(), // Any* args
0 // int aiMemoryType
);
console.log(args)var argsArg = new OutputArgument();
Function.Call((Hash)0x88BC5F4AEF77FC4E, // _CREATE_AI_MEMORY
argsArg, // Any* args
0 // int aiMemoryType
);
int args = argsArg.GetResult<int>();Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.