IS_PLAYER_WANTED_LEVEL_GREATER
Hash
0xE1C0AD4C24324C36Runtime name
IsPlayerWantedLevelGreaterNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x238DB2A2C23EE9EFSignature
BOOL IS_PLAYER_WANTED_LEVEL_GREATER(Player player, int wantedLevel);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
wantedLevel | int | — |
Returns BOOL
Usage
local retval = IsPlayerWantedLevelGreater(player, wantedLevel)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE1C0AD4C24324C36, player, wantedLevel, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPlayerWantedLevelGreater(player, wantedLevel);
// by hash
const retval = Citizen.invokeNative('0xE1C0AD4C24324C36', player, wantedLevel, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xE1C0AD4C24324C36, player, wantedLevel);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.