participantIdToInt
PARTICIPANT_ID_TO_INT0x57A3BDDAD8E5AA0AThe GTA V native PARTICIPANT_ID_TO_INT of the NETWORK namespace, as LS:MP client scripts call it: the global function participantIdToInt, in JavaScript and in Lua.
participantIdToInt(): numberparticipantIdToInt(): integerUsage
JavaScript
const result = participantIdToInt();Lua
local result = participantIdToInt()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.
Return the local Participant ID.
This native is exactly the same as 'participantId' native.
Reference
- Namespace
- Network NETWORK
- In the game
int PARTICIPANT_ID_TO_INT()- Hash
0x57A3BDDAD8E5AA0A