RedM Natives

SET_PLAYER_WANTED_LEVEL

nullsub, doesn't do anything

Hash0x384D4765395E006C
Runtime nameSetPlayerWantedLevel
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x39FF19C64EF7DA5B

Signature

void SET_PLAYER_WANTED_LEVEL(Player player, int wantedLevel, BOOL disableNoMission);

Parameters

NameTypeDescription
playerPlayer—
wantedLevelint—
disableNoMissionBOOL—

Returns void

Description

nullsub, doesn't do anything

Usage

Lua
SetPlayerWantedLevel(player, wantedLevel, disableNoMission)

-- always works, by hash
Citizen.InvokeNative(0x384D4765395E006C, player, wantedLevel, disableNoMission)
JavaScript and C#
JavaScript
SetPlayerWantedLevel(player, wantedLevel, disableNoMission);

// by hash
Citizen.invokeNative('0x384D4765395E006C', player, wantedLevel, disableNoMission);
C#
Function.Call((Hash)0x384D4765395E006C, player, wantedLevel, disableNoMission);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.