{"hash":"0xFDF38E2B711BF78E","ns":"MISC","name":"_GET_AI_PED_DOES_HAVE_EVENT_MEMORY","slug":"_GET_AI_PED_DOES_HAVE_EVENT_MEMORY","official":false,"named":true,"luaName":"GetAiPedDoesHaveEventMemory","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"args","type":"Any*"},{"name":"p1","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/MISC/_GET_AI_PED_DOES_HAVE_EVENT_MEMORY","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_GET_AI_PED_DOES_HAVE_EVENT_MEMORY.md","snippets":{"lua":"local retval, args = GetAiPedDoesHaveEventMemory(p1)","luaInvoke":"local retval, args = Citizen.InvokeNative(0xFDF38E2B711BF78E, Citizen.PointerValueInt(), p1, Citizen.ReturnResultAnyway())","js":"const [retval, args] = GetAiPedDoesHaveEventMemory(p1);","jsInvoke":"const [retval, args] = Citizen.invokeNative('0xFDF38E2B711BF78E', Citizen.pointerValueInt(), p1, Citizen.returnResultAnyway());","csharp":"var args = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xFDF38E2B711BF78E, args, p1);\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."]}}