intToParticipantindex
INT_TO_PARTICIPANTINDEX0x9EC6603812C24710The GTA V native INT_TO_PARTICIPANTINDEX of the PLAYER namespace, as LS:MP client scripts call it: the global function intToParticipantindex, in JavaScript and in Lua.
intToParticipantindex(value: number): numberintToParticipantindex(value: integer): integerUsage
JavaScript
const result = intToParticipantindex(value);Lua
local result = intToParticipantindex(value)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
value | int | number | integer |
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.
Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).
Reference
- Namespace
- Player PLAYER
- In the game
int INT_TO_PARTICIPANTINDEX(int value)- Hash
0x9EC6603812C24710