The Lab
PLAYER native

IS_PLAYER_WANTED_LEVEL_GREATER

returns BOOL2 paramsbuild 1207

Returns true if the wanted level of player is greater than wantedLevel.

Signature

C
BOOL IS_PLAYER_WANTED_LEVEL_GREATER(Player player, int wantedLevel); // 0xE1C0AD4C24324C36 b1207

Parameters

#NameType
1playerPlayer
2wantedLevelint

Facts

Facts about IS_PLAYER_WANTED_LEVEL_GREATER
Name
IS_PLAYER_WANTED_LEVEL_GREATER
Hash
0xE1C0AD4C24324C36
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xE1C0AD4C24324C36, -- IS_PLAYER_WANTED_LEVEL_GREATER
  PlayerId(), -- Player player
  0 -- int wantedLevel
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xE1C0AD4C24324C36", // IS_PLAYER_WANTED_LEVEL_GREATER
  PlayerId(), // Player player
  0, // int wantedLevel
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xE1C0AD4C24324C36, // IS_PLAYER_WANTED_LEVEL_GREATER
  API.PlayerId(), // Player player
  0 // int wantedLevel
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.