{"hash":"0xC6A7DC546E94FED5","ns":"EVENT","name":"_EVENT_GET_TIME_SINCE_EVENT","slug":"_EVENT_GET_TIME_SINCE_EVENT","official":false,"named":true,"luaName":"EventGetTimeSinceEvent","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"entity","type":"Entity"},{"name":"eventType","type":"Hash"},{"name":"p2","type":"int"},{"name":"p3","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":["eEventType"],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/EVENT/_EVENT_GET_TIME_SINCE_EVENT","markdownUrl":"https://natives.borderlinerp.com/natives/EVENT/_EVENT_GET_TIME_SINCE_EVENT.md","snippets":{"lua":"local retval = EventGetTimeSinceEvent(entity, eventType, p2, p3)","luaInvoke":"local retval = Citizen.InvokeNative(0xC6A7DC546E94FED5, entity, eventType, p2, p3, Citizen.ResultAsInteger())","js":"const retval = EventGetTimeSinceEvent(entity, eventType, p2, p3);","jsInvoke":"const retval = Citizen.invokeNative('0xC6A7DC546E94FED5', entity, eventType, p2, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xC6A7DC546E94FED5, entity, eventType, p2, p3);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}