The Lab
PLAYER native

INT_TO_PLAYERINDEX

returns Player1 parambuild 1207

Converts the integer value to a player index.

Signature

C
Player INT_TO_PLAYERINDEX(int value); // 0x748B3A65C2604C33 b1207

Parameters

#NameType
1valueint

Facts

Facts about INT_TO_PLAYERINDEX
Name
INT_TO_PLAYERINDEX
Hash
0x748B3A65C2604C33
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(0x748B3A65C2604C33, -- INT_TO_PLAYERINDEX
  0, -- int value
  Citizen.ResultAsInteger()
)
print(player)
JavaScript
const player = Citizen.invokeNative("0x748B3A65C2604C33", // INT_TO_PLAYERINDEX
  0, // int value
  Citizen.resultAsInteger()
);
console.log(player)
C#
int player = Function.Call<int>((Hash)0x748B3A65C2604C33, // INT_TO_PLAYERINDEX
  0 // int value
);
All PLAYER natives

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