{"hash":"0x88BC5F4AEF77FC4E","ns":"MISC","name":"_CREATE_AI_MEMORY","slug":"_CREATE_AI_MEMORY","official":false,"named":true,"luaName":"CreateAiMemory","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"args","type":"Any*"},{"name":"aiMemoryType","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"aiMemoryType: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/_CREATE_AI_MEMORY"}],"examples":[],"aliases":[],"enums":["_CREATE_AI_MEMORY"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/_CREATE_AI_MEMORY","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_CREATE_AI_MEMORY.md","snippets":{"lua":"local args = CreateAiMemory(aiMemoryType)","luaInvoke":"local args = Citizen.InvokeNative(0x88BC5F4AEF77FC4E, Citizen.PointerValueInt(), aiMemoryType)","js":"const args = CreateAiMemory(aiMemoryType);","jsInvoke":"const args = Citizen.invokeNative('0x88BC5F4AEF77FC4E', Citizen.pointerValueInt(), aiMemoryType);","csharp":"var args = new OutputArgument();\nFunction.Call((Hash)0x88BC5F4AEF77FC4E, args, aiMemoryType);\n// args.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","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."]}}