NETWORK_REQUEST_JOIN
Requests to join the session of the given gamer and returns a result code.
Signature
int NETWORK_REQUEST_JOIN(Any* gamerHandle); // 0xE483BB6BE686F632 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | gamerHandle | Any* (out pointer) |
Facts
| Name | NETWORK_REQUEST_JOIN |
|---|---|
| Hash | 0xE483BB6BE686F632 |
| 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, gamerHandle = Citizen.InvokeNative(0xE483BB6BE686F632, -- NETWORK_REQUEST_JOIN
Citizen.PointerValueInt(), -- Any* gamerHandle
Citizen.ResultAsInteger()
)
print(result, gamerHandle)const [result, gamerHandle] = Citizen.invokeNative("0xE483BB6BE686F632", // NETWORK_REQUEST_JOIN
Citizen.pointerValueInt(), // Any* gamerHandle
Citizen.resultAsInteger()
);
console.log(result, gamerHandle)var gamerHandleArg = new OutputArgument();
int result = Function.Call<int>((Hash)0xE483BB6BE686F632, // NETWORK_REQUEST_JOIN
gamerHandleArg // Any* gamerHandle
);
int gamerHandle = gamerHandleArg.GetResult<int>();Related NETWORK natives
- NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
- NETWORK_REQUEST_CLOUD_TUNABLES
- NETWORK_REQUEST_CONTROL_OF_ENTITY
- NETWORK_REQUEST_CONTROL_OF_PICKUP_PLACEMENT
- NETWORK_REQUEST_RECENT_GAMER_NAMES
- NETWORK_REQUEST_SESSION_SEAMLESS
- NETWORK_DOES_NETWORK_ID_EXIST
- NETWORK_GET_DESTROYER_OF_NETWORK_ID
- NETWORK_GET_ENTITY_FROM_NETWORK_ID
- NETWORK_GET_NETWORK_ID_FROM_ENTITY
- NETWORK_GET_NETWORK_ID_FROM_ROPE_ID
- NETWORK_GET_ROPE_ID_FROM_NETWORK_ID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.