PlayerClient

suppressLosingWantedLevelIfHiddenThisFrame

SUPPRESS_LOSING_WANTED_LEVEL_IF_HIDDEN_THIS_FRAME0x4669B3ED80F24B4E

The GTA V native SUPPRESS_LOSING_WANTED_LEVEL_IF_HIDDEN_THIS_FRAME of the PLAYER namespace, as LS:MP client scripts call it: the global function suppressLosingWantedLevelIfHiddenThisFrame, in JavaScript and in Lua.

SignatureJavaScript
suppressLosingWantedLevelIfHiddenThisFrame(player: Player): void
SignatureLua
suppressLosingWantedLevelIfHiddenThisFrame(player: Player)

Usage

JavaScript
suppressLosingWantedLevelIfHiddenThisFrame(player);
Lua
suppressLosingWantedLevelIfHiddenThisFrame(player)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This has been found in use in the decompiled files.

Reference

Namespace
Player PLAYER
In the game
void SUPPRESS_LOSING_WANTED_LEVEL_IF_HIDDEN_THIS_FRAME(Player player)
Hash
0x4669B3ED80F24B4E

Open in the interactive natives reference