networkPlayerIdToInt
NETWORK_PLAYER_ID_TO_INT0xEE68096F9F37341EThe GTA V native NETWORK_PLAYER_ID_TO_INT of the PLAYER namespace, as LS:MP client scripts call it: the global function networkPlayerIdToInt, in JavaScript and in Lua.
networkPlayerIdToInt(): numbernetworkPlayerIdToInt(): integerUsage
JavaScript
const result = networkPlayerIdToInt();Lua
local result = networkPlayerIdToInt()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Does exactly the same thing as playerId()
Reference
- Namespace
- Player PLAYER
- In the game
int NETWORK_PLAYER_ID_TO_INT()- Hash
0xEE68096F9F37341E