GET_MAX_WANTED_LEVEL
Gets the maximum wanted level the player can get.
Hash
0xD04CFAD1E2B7984ARuntime name
GetMaxWantedLevelNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x462E0DB9B137DC5FSignature
int GET_MAX_WANTED_LEVEL();Returns int
Description
Gets the maximum wanted level the player can get.
Ranges from 0 to 5.
Usage
local retval = GetMaxWantedLevel()
-- always works, by hash
local retval = Citizen.InvokeNative(0xD04CFAD1E2B7984A, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetMaxWantedLevel();
// by hash
const retval = Citizen.invokeNative('0xD04CFAD1E2B7984A', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xD04CFAD1E2B7984A);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.