IS_PLAYER_WANTED_LEVEL_GREATER
Returns true if the wanted level of player is greater than wantedLevel.
Signature
BOOL IS_PLAYER_WANTED_LEVEL_GREATER(Player player, int wantedLevel); // 0xE1C0AD4C24324C36 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | wantedLevel | int |
Facts
| 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.
local result = Citizen.InvokeNative(0xE1C0AD4C24324C36, -- IS_PLAYER_WANTED_LEVEL_GREATER
PlayerId(), -- Player player
0 -- int wantedLevel
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE1C0AD4C24324C36", // IS_PLAYER_WANTED_LEVEL_GREATER
PlayerId(), // Player player
0, // int wantedLevel
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE1C0AD4C24324C36, // IS_PLAYER_WANTED_LEVEL_GREATER
API.PlayerId(), // Player player
0 // int wantedLevel
);Related PLAYER natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.