{"hash":"0x796EECFF0C6D39BE","ns":"EVENT","name":"_EVENT_GET_RECENT_EVENT","slug":"_EVENT_GET_RECENT_EVENT","official":false,"named":true,"luaName":"EventGetRecentEvent","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"entity","type":"Entity"},{"name":"p1","type":"int"},{"name":"p2","type":"int"}],"summary":"Returns eventType","descriptions":[{"source":"alloc8or","format":"text","body":"Returns eventType"}],"examples":[],"aliases":[],"enums":["eEventType"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/EVENT/_EVENT_GET_RECENT_EVENT","markdownUrl":"https://natives.borderlinerp.com/natives/EVENT/_EVENT_GET_RECENT_EVENT.md","snippets":{"lua":"local retval = EventGetRecentEvent(entity, p1, p2)","luaInvoke":"local retval = Citizen.InvokeNative(0x796EECFF0C6D39BE, entity, p1, p2, Citizen.ResultAsInteger())","js":"const retval = EventGetRecentEvent(entity, p1, p2);","jsInvoke":"const retval = Citizen.invokeNative('0x796EECFF0C6D39BE', entity, p1, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x796EECFF0C6D39BE, entity, p1, p2);","notes":["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."]}}