_EVENT_GET_RECENT_EVENT
Returns eventType
Hash
0x796EECFF0C6D39BERuntime name
EventGetRecentEventNamespaceEVENT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Hash _EVENT_GET_RECENT_EVENT(Entity entity, int p1, int p2);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
p1 | int | — |
p2 | int | — |
Returns Hash
Description
Returns eventType
Usage
local retval = EventGetRecentEvent(entity, p1, p2)
-- always works, by hash
local retval = Citizen.InvokeNative(0x796EECFF0C6D39BE, entity, p1, p2, Citizen.ResultAsInteger())JavaScript and C#
const retval = EventGetRecentEvent(entity, p1, p2);
// by hash
const retval = Citizen.invokeNative('0x796EECFF0C6D39BE', entity, p1, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x796EECFF0C6D39BE, entity, p1, p2);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- eEventType 492 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.