The Lab
PLAYER native

_SET_MAX_WANTED_LEVEL_2

returns void1 parambuild 1207

Sets the maximum wanted level the player can reach.

Signature

C
void _SET_MAX_WANTED_LEVEL_2(int maxWantedLevel); // 0xEA6DE0CD15AECBE2 b1207

Parameters

#NameType
1maxWantedLevelint

Facts

Facts about _SET_MAX_WANTED_LEVEL_2
Name
_SET_MAX_WANTED_LEVEL_2
Hash
0xEA6DE0CD15AECBE2
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(0xEA6DE0CD15AECBE2, -- _SET_MAX_WANTED_LEVEL_2
  0 -- int maxWantedLevel
)
JavaScript
Citizen.invokeNative("0xEA6DE0CD15AECBE2", // _SET_MAX_WANTED_LEVEL_2
  0 // int maxWantedLevel
);
C#
Function.Call((Hash)0xEA6DE0CD15AECBE2, // _SET_MAX_WANTED_LEVEL_2
  0 // int maxWantedLevel
);
All PLAYER natives

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