_MINIGAME_IS_CONNECTED_TO_SERVER
Based on its name and signature, here is our best reading:
Returns whether the client is connected to the minigame server.
Signature
Any _MINIGAME_IS_CONNECTED_TO_SERVER(Any p0); // 0x2A0C4736AC5AF0CE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
Facts
| Name | _MINIGAME_IS_CONNECTED_TO_SERVER |
|---|---|
| Hash | 0x2A0C4736AC5AF0CE |
| 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(0x2A0C4736AC5AF0CE, -- _MINIGAME_IS_CONNECTED_TO_SERVER
0, -- Any p0
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x2A0C4736AC5AF0CE", // _MINIGAME_IS_CONNECTED_TO_SERVER
0, // Any p0
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x2A0C4736AC5AF0CE, // _MINIGAME_IS_CONNECTED_TO_SERVER
0 // Any p0
);Related MINIGAME natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.