NetworkClientBlocked

networkGetLocalHandle

NETWORK_GET_LOCAL_HANDLE0xE86051786B66CD8E

The GTA V native NETWORK_GET_LOCAL_HANDLE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetLocalHandle, in JavaScript and in Lua.

SignatureJavaScript
networkGetLocalHandle(gamerHandle: null, gamerHandleSize: number): void
SignatureLua
networkGetLocalHandle(gamerHandle: nil, gamerHandleSize: integer)
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_GET_LOCAL_HANDLE(Any* gamerHandle, int gamerHandleSize)
Hash
0xE86051786B66CD8E

Open in the interactive natives reference