NetworkClientBlocked

networkIsHandleValid

NETWORK_IS_HANDLE_VALID0x6F79B93B0A8E4133

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

SignatureJavaScript
networkIsHandleValid(gamerHandle: null, gamerHandleSize: number): boolean
SignatureLua
networkIsHandleValid(gamerHandle: nil, gamerHandleSize: integer): boolean
✕
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
BOOL NETWORK_IS_HANDLE_VALID(Any* gamerHandle, int gamerHandleSize)
Hash
0x6F79B93B0A8E4133

Open in the interactive natives reference