NetworkClientBlocked

networkHandleFromMemberId

NETWORK_HANDLE_FROM_MEMBER_ID0xA0FD21BED61E5C4C

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

SignatureJavaScript
networkHandleFromMemberId(
  memberId: string,
  gamerHandle: null,
  gamerHandleSize: number
): void
SignatureLua
networkHandleFromMemberId(
  memberId: string,
  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_HANDLE_FROM_MEMBER_ID(const char* memberId, Any* gamerHandle, int gamerHandleSize)
Hash
0xA0FD21BED61E5C4C

Open in the interactive natives reference