RedM Natives

GET_PLAYER_WANTED_LEVEL

Hash0xABC532F9098BFD9D
Runtime nameGetPlayerWantedLevel
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xE28E54788CE8F12D

Signature

int GET_PLAYER_WANTED_LEVEL(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns int

Usage

Lua
local retval = GetPlayerWantedLevel(player)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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