SET_PLAYER_WANTED_LEVEL
Sets the wanted level of player.
Signature
void SET_PLAYER_WANTED_LEVEL(Player player, int wantedLevel, BOOL disableNoMission); // 0x384D4765395E006C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | wantedLevel | int |
| 3 | disableNoMission | BOOL |
Facts
| Name | SET_PLAYER_WANTED_LEVEL |
|---|---|
| Hash | 0x384D4765395E006C |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x384D4765395E006C, -- SET_PLAYER_WANTED_LEVEL
PlayerId(), -- Player player
0, -- int wantedLevel
false -- BOOL disableNoMission
)Citizen.invokeNative("0x384D4765395E006C", // SET_PLAYER_WANTED_LEVEL
PlayerId(), // Player player
0, // int wantedLevel
false // BOOL disableNoMission
);Function.Call((Hash)0x384D4765395E006C, // SET_PLAYER_WANTED_LEVEL
API.PlayerId(), // Player player
0, // int wantedLevel
false // BOOL disableNoMission
);Related PLAYER natives
- _SET_DISABLE_PLAYER_WANTED_LEVEL
- SET_MAX_WANTED_LEVEL
- SET_PLAYER_WEAPON_DAMAGE_MODIFIER
- SET_PLAYER_WEAPON_DEFENSE_MODIFIER
- SET_PLAYER_WEAPON_TYPE_DAMAGE_MODIFIER
- SET_WANTED_LEVEL_MULTIPLIER
- SET_PLAYER_CAN_BE_HASSLED_BY_GANGS
- SET_PLAYER_CAN_USE_COVER
- SET_PLAYER_CLOTH_PIN_FRAMES
- SET_PLAYER_CONTROL
- SET_PLAYER_FORCED_AIM
- SET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.