The Lab
PLAYER native

SET_PLAYER_WANTED_LEVEL

returns void3 paramsbuild 1207

Sets the wanted level of player.

Signature

C
void SET_PLAYER_WANTED_LEVEL(Player player, int wantedLevel, BOOL disableNoMission); // 0x384D4765395E006C b1207

Parameters

#NameType
1playerPlayer
2wantedLevelint
3disableNoMissionBOOL

Facts

Facts about SET_PLAYER_WANTED_LEVEL
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.

Lua
Citizen.InvokeNative(0x384D4765395E006C, -- SET_PLAYER_WANTED_LEVEL
  PlayerId(), -- Player player
  0, -- int wantedLevel
  false -- BOOL disableNoMission
)
JavaScript
Citizen.invokeNative("0x384D4765395E006C", // SET_PLAYER_WANTED_LEVEL
  PlayerId(), // Player player
  0, // int wantedLevel
  false // BOOL disableNoMission
);
C#
Function.Call((Hash)0x384D4765395E006C, // SET_PLAYER_WANTED_LEVEL
  API.PlayerId(), // Player player
  0, // int wantedLevel
  false // BOOL disableNoMission
);
All PLAYER natives

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