networkHashFromPlayerHandle
NETWORK_HASH_FROM_PLAYER_HANDLE0xBC1D768F2F5D6C05The GTA V native NETWORK_HASH_FROM_PLAYER_HANDLE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkHashFromPlayerHandle, in JavaScript and in Lua.
networkHashFromPlayerHandle(player: Player): HashnetworkHashFromPlayerHandle(player: Player): HashUsage
JavaScript
const hash = networkHashFromPlayerHandle(player);Lua
local hash = networkHashFromPlayerHandle(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
Hash JavaScript number, Lua integerA game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.
Reference
- Namespace
- Network NETWORK
- In the game
Hash NETWORK_HASH_FROM_PLAYER_HANDLE(Player player)- Hash
0xBC1D768F2F5D6C05- Formerly
_NETWORK_HASH_FROM_PLAYER_HANDLE