The Lab
NETWORK native

GET_UNIQUE_INT_FOR_PLAYER

returns int1 parambuild 1207

Returns a unique integer identifying the player in the session.

Signature

C
int GET_UNIQUE_INT_FOR_PLAYER(Player player); // 0x07F723401B9D921C b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about GET_UNIQUE_INT_FOR_PLAYER
Name
GET_UNIQUE_INT_FOR_PLAYER
Hash
0x07F723401B9D921C
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

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

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