INT_TO_PARTICIPANTINDEX
Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).
Hash
0x58FF971FC8F2702CRuntime name
IntToParticipantindexNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9EC6603812C24710Signature
int INT_TO_PARTICIPANTINDEX(int value);Parameters
| Name | Type | Description |
|---|---|---|
value | int | — |
Returns int
Description
Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).
Usage
local retval = IntToParticipantindex(value)
-- always works, by hash
local retval = Citizen.InvokeNative(0x58FF971FC8F2702C, value, Citizen.ResultAsInteger())JavaScript and C#
const retval = IntToParticipantindex(value);
// by hash
const retval = Citizen.invokeNative('0x58FF971FC8F2702C', value, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x58FF971FC8F2702C, value);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.