RedM Natives

GET_UNIQUE_INT_FOR_PLAYER

Hash0x07F723401B9D921C
Runtime nameGetUniqueIntForPlayer
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

int GET_UNIQUE_INT_FOR_PLAYER(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns int

Usage

Lua
local retval = GetUniqueIntForPlayer(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x07F723401B9D921C, player, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetUniqueIntForPlayer(player);

// by hash
const retval = Citizen.invokeNative('0x07F723401B9D921C', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x07F723401B9D921C, player);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.