networkHandleFromUserId
NETWORK_HANDLE_FROM_USER_ID0xDCD51DD8F87AEC5CThe GTA V native NETWORK_HANDLE_FROM_USER_ID of the NETWORK namespace, as LS:MP client scripts call it: the global function networkHandleFromUserId, in JavaScript and in Lua.
networkHandleFromUserId(
userId: string,
gamerHandle: null,
gamerHandleSize: number
): voidnetworkHandleFromUserId(
userId: 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_USER_ID(const char* userId, Any* gamerHandle, int gamerHandleSize)- Hash
0xDCD51DD8F87AEC5C