PARTICIPANT_ID_TO_INT
Return the local Participant ID.
Hash
0x57A3BDDAD8E5AA0ARuntime name
ParticipantIdToIntNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x57A3BDDAD8E5AA0ASignature
int PARTICIPANT_ID_TO_INT();Returns int
Description
Return the local Participant ID.
This native is exactly the same as 'PARTICIPANT_ID' native.
Usage
local retval = ParticipantIdToInt()
-- always works, by hash
local retval = Citizen.InvokeNative(0x57A3BDDAD8E5AA0A, Citizen.ResultAsInteger())JavaScript and C#
const retval = ParticipantIdToInt();
// by hash
const retval = Citizen.invokeNative('0x57A3BDDAD8E5AA0A', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x57A3BDDAD8E5AA0A);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.