NETWORK_GET_LOCAL_HANDLE
Hash
0xE86051786B66CD8ERuntime name
NetworkGetLocalHandleNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE86051786B66CD8ESignature
void NETWORK_GET_LOCAL_HANDLE(Any* gamerHandle);Parameters
| Name | Type | Description |
|---|---|---|
gamerHandle | Any* | — |
Returns void
Usage
local gamerHandle = NetworkGetLocalHandle(gamerHandle)
-- always works, by hash
local gamerHandle = Citizen.InvokeNative(0xE86051786B66CD8E, Citizen.PointerValueIntInitialized(gamerHandle))JavaScript and C#
const gamerHandle = NetworkGetLocalHandle(gamerHandle);
// by hash
const gamerHandle = Citizen.invokeNative('0xE86051786B66CD8E', Citizen.pointerValueIntInitialized(gamerHandle));var gamerHandle = new OutputArgument();
Function.Call((Hash)0xE86051786B66CD8E, 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.