GET_PLAYER_WANTED_LEVEL
Hash
0xABC532F9098BFD9DRuntime name
GetPlayerWantedLevelNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE28E54788CE8F12DSignature
int GET_PLAYER_WANTED_LEVEL(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns int
Usage
local retval = GetPlayerWantedLevel(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xABC532F9098BFD9D, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPlayerWantedLevel(player);
// by hash
const retval = Citizen.invokeNative('0xABC532F9098BFD9D', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xABC532F9098BFD9D, player);See also
SET_PLAYER_WANTED_LEVELnullsub, doesn't do anythingCLEAR_PLAYER_WANTED_LEVELnullsub, doesn't do anything
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.