networkHandleFromPlayer
NETWORK_HANDLE_FROM_PLAYER0x388EB2B86C73B6B3The GTA V native NETWORK_HANDLE_FROM_PLAYER of the NETWORK namespace, as LS:MP client scripts call it: the global function networkHandleFromPlayer, in JavaScript and in Lua.
networkHandleFromPlayer(
player: Player,
gamerHandle: null,
gamerHandleSize: number
): voidnetworkHandleFromPlayer(
player: Player,
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_PLAYER(Player player, Any* gamerHandle, int gamerHandleSize)- Hash
0x388EB2B86C73B6B3