RedM Natives

_SET_MAX_WANTED_LEVEL_2

Hash0xEA6DE0CD15AECBE2
Runtime nameSetMaxWantedLevel_2
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_MAX_WANTED_LEVEL_2(int maxWantedLevel);

Parameters

NameTypeDescription
maxWantedLevelint—

Returns void

Usage

Lua
SetMaxWantedLevel_2(maxWantedLevel)

-- always works, by hash
Citizen.InvokeNative(0xEA6DE0CD15AECBE2, maxWantedLevel)
JavaScript and C#
JavaScript
SetMaxWantedLevel_2(maxWantedLevel);

// by hash
Citizen.invokeNative('0xEA6DE0CD15AECBE2', maxWantedLevel);
C#
Function.Call((Hash)0xEA6DE0CD15AECBE2, maxWantedLevel);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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