The Lab
PLAYER native

SET_MAX_WANTED_LEVEL

returns void1 parambuild 1207

Sets the maximum wanted level that can be reached.

Signature

C
void SET_MAX_WANTED_LEVEL(int maxWantedLevel); // 0x28A4BD2CEE236E19 b1207

Parameters

#NameType
1maxWantedLevelint

Facts

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

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