NETWORK_REQUEST_JOIN
Hash
0xE483BB6BE686F632Runtime name
NetworkRequestJoinNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
Signature
int NETWORK_REQUEST_JOIN(Any* gamerHandle);Parameters
| Name | Type | Description |
|---|---|---|
gamerHandle | Any* | — |
Returns int
Usage
local retval, gamerHandle = NetworkRequestJoin(gamerHandle)
-- always works, by hash
local retval, gamerHandle = Citizen.InvokeNative(0xE483BB6BE686F632, Citizen.PointerValueIntInitialized(gamerHandle), Citizen.ResultAsInteger())JavaScript and C#
const [retval, gamerHandle] = NetworkRequestJoin(gamerHandle);
// by hash
const [retval, gamerHandle] = Citizen.invokeNative('0xE483BB6BE686F632', Citizen.pointerValueIntInitialized(gamerHandle), Citizen.returnResultAnyway(), Citizen.resultAsInteger());var gamerHandle = new OutputArgument();
int retval = Function.Call<int>((Hash)0xE483BB6BE686F632, gamerHandle);
// gamerHandle.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.