NetworkClientBlocked

networkGetGamertagFromHandle

NETWORK_GET_GAMERTAG_FROM_HANDLE0x426141162EBE5CDB

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

SignatureJavaScript
networkGetGamertagFromHandle(gamerHandle: null): string
SignatureLua
networkGetGamertagFromHandle(gamerHandle: nil): string
✕
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
const char* NETWORK_GET_GAMERTAG_FROM_HANDLE(Any* gamerHandle)
Hash
0x426141162EBE5CDB

Open in the interactive natives reference