The Lab
PLAYER native

_SET_DISABLE_PLAYER_WANTED_LEVEL

returns void2 paramsbuild 1207

Prevents player from gaining a wanted level when disable is true.

Signature

C
void _SET_DISABLE_PLAYER_WANTED_LEVEL(Player player, BOOL disable); // 0x8674D138391FFB1B b1207

Parameters

#NameType
1playerPlayer
2disableBOOL

Facts

Facts about _SET_DISABLE_PLAYER_WANTED_LEVEL
Name
_SET_DISABLE_PLAYER_WANTED_LEVEL
Hash
0x8674D138391FFB1B
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(0x8674D138391FFB1B, -- _SET_DISABLE_PLAYER_WANTED_LEVEL
  PlayerId(), -- Player player
  false -- BOOL disable
)
JavaScript
Citizen.invokeNative("0x8674D138391FFB1B", // _SET_DISABLE_PLAYER_WANTED_LEVEL
  PlayerId(), // Player player
  false // BOOL disable
);
C#
Function.Call((Hash)0x8674D138391FFB1B, // _SET_DISABLE_PLAYER_WANTED_LEVEL
  API.PlayerId(), // Player player
  false // BOOL disable
);
All PLAYER natives

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