GET_NUMBER_OF_EVENTS
Returns how many events are queued in the event group eventGroup this frame.
Signature
int GET_NUMBER_OF_EVENTS(int eventGroup); // 0x5CE8DE5909565748 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | eventGroup | int |
Facts
| Name | GET_NUMBER_OF_EVENTS |
|---|---|
| Hash | 0x5CE8DE5909565748 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x5CE8DE5909565748, -- GET_NUMBER_OF_EVENTS
0, -- int eventGroup
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x5CE8DE5909565748", // GET_NUMBER_OF_EVENTS
0, // int eventGroup
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x5CE8DE5909565748, // GET_NUMBER_OF_EVENTS
0 // int eventGroup
);Related SCRIPT natives
- GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH
- GET_BLOCK_OF_PLAYER_BITS
- GET_HASH_OF_THIS_SCRIPT_NAME
- GET_ID_OF_THIS_THREAD
- _GET_HASH_OF_THREAD
- GET_NO_LOADING_SCREEN
- GET_EVENT_AT_INDEX
- GET_EVENT_DATA
- GET_EVENT_EXISTS
- GET_THREAD_EXISTENCE_DETAILS
- _AWARDS_GET_UNLOCK_CLAIM_DATA
- _GET_GLOBAL_BLOCK_CAN_BE_ACCESSED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.