INT_TO_PLAYERINDEX
Converts the integer value to a player index.
Signature
Player INT_TO_PLAYERINDEX(int value); // 0x748B3A65C2604C33 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | value | int |
Facts
| 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.
local player = Citizen.InvokeNative(0x748B3A65C2604C33, -- INT_TO_PLAYERINDEX
0, -- int value
Citizen.ResultAsInteger()
)
print(player)const player = Citizen.invokeNative("0x748B3A65C2604C33", // INT_TO_PLAYERINDEX
0, // int value
Citizen.resultAsInteger()
);
console.log(player)int player = Function.Call<int>((Hash)0x748B3A65C2604C33, // INT_TO_PLAYERINDEX
0 // int value
);Related PLAYER natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.