The Lab
NETWORK native

PARTICIPANT_ID

returns Player0 paramsbuild 1207

Returns the participant id of the local player in the calling network script.

Signature

C
Player PARTICIPANT_ID(); // 0x90986E8876CE0A83 b1207

Parameters

This native takes no parameters.

Facts

Facts about PARTICIPANT_ID
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.

Lua
local player = Citizen.InvokeNative(0x90986E8876CE0A83, -- PARTICIPANT_ID
  Citizen.ResultAsInteger()
)
print(player)
JavaScript
const player = Citizen.invokeNative("0x90986E8876CE0A83", // PARTICIPANT_ID
  Citizen.resultAsInteger()
);
console.log(player)
C#
int player = Function.Call<int>((Hash)0x90986E8876CE0A83); // PARTICIPANT_ID
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.