_MINIGAME_GET_NEXT_EVENT
Based on its name and signature, here is our best reading:
Reads the next pending minigame server event.
Signature
Any _MINIGAME_GET_NEXT_EVENT(Any p0, Any p1); // 0xDF728C5AE137FC13 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
| 2 | p1 | Any |
Facts
| Name | _MINIGAME_GET_NEXT_EVENT |
|---|---|
| Hash | 0xDF728C5AE137FC13 |
| Namespace | |
| Returns | Any |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xDF728C5AE137FC13, -- _MINIGAME_GET_NEXT_EVENT
0, -- Any p0
0, -- Any p1
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xDF728C5AE137FC13", // _MINIGAME_GET_NEXT_EVENT
0, // Any p0
0, // Any p1
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xDF728C5AE137FC13, // _MINIGAME_GET_NEXT_EVENT
0, // Any p0
0 // Any p1
);Related MINIGAME natives
- _MINIGAME_GET_NEXT_EVENT_TYPE
- _MINIGAME_POP_NEXT_EVENT
- _MINIGAME_IS_CONNECTED_TO_SERVER
- _MINIGAME_IS_REQUEST_PENDING
- _MINIGAME_IS_SEAT_OCCUPIED
- _MINIGAME_LEAVE_TABLE
- _MINIGAME_REQUEST_SEAT_AT_TABLE
- _POKER_GET_GAME_SETTINGS_FOR_ID
- _DOMINOES_BUY_IN
- _DOMINOES_PLACE_DOMINO
- _DOMINOES_REQUEST_VALID_PLACEMENTS
- _POKER_BUY_IN
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.