RedM Natives

GET_WANTED_SCORE

Hash0xDD5FD601481F648B
Runtime nameGetWantedScore
NamespaceLAW
SideClient
NameOfficial
Docs
Since build1207

Signature

int GET_WANTED_SCORE(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns int

Usage

Lua
local retval = GetWantedScore(player)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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