PARTICIPANT_ID
Returns the participant id of the local player in the calling network script.
Signature
Player PARTICIPANT_ID(); // 0x90986E8876CE0A83 b1207Parameters
This native takes no parameters.
Facts
| Name | PARTICIPANT_ID |
|---|---|
| Hash | 0x90986E8876CE0A83 |
| Namespace | |
| Returns | Player |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local player = Citizen.InvokeNative(0x90986E8876CE0A83, -- PARTICIPANT_ID
Citizen.ResultAsInteger()
)
print(player)const player = Citizen.invokeNative("0x90986E8876CE0A83", // PARTICIPANT_ID
Citizen.resultAsInteger()
);
console.log(player)int player = Function.Call<int>((Hash)0x90986E8876CE0A83); // PARTICIPANT_IDRelated NETWORK natives
- PARTICIPANT_ID_TO_INT
- IS_NETWORK_ID_OWNED_BY_PARTICIPANT
- NETWORK_GET_NETWORK_ID_FROM_ROPE_ID
- NETWORK_GET_ROPE_ID_FROM_NETWORK_ID
- PREVENT_NETWORK_ID_MIGRATION
- _NETWORK_GET_INSTANCE_ID_OF_THREAD
- _NETWORK_GET_PLATFORM_INVITE_ID
- _NETWORK_GET_PLAYER_FAST_INSTANCE_ID
- _NETWORK_GET_PLAYER_OWNER_OF_NETWORK_ID
- _NETWORK_SESSION_GET_SESSION_ID
- _UGC_QUERY_BY_CONTENT_ID
- _UGC_QUERY_GET_OWNER_ID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.