NetworkClient

networkConcealPlayer

NETWORK_CONCEAL_PLAYER0xBBDF066252829606

The GTA V native NETWORK_CONCEAL_PLAYER of the NETWORK namespace, as LS:MP client scripts call it: the global function networkConcealPlayer, in JavaScript and in Lua.

SignatureJavaScript
networkConcealPlayer(player: Player, toggle: boolean, p2: boolean): void
SignatureLua
networkConcealPlayer(player: Player, toggle: boolean, p2: boolean)

Usage

JavaScript
networkConcealPlayer(player, toggle, p2);
Lua
networkConcealPlayer(player, toggle, p2)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
toggleBOOLbooleanboolean
p2BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_CONCEAL_PLAYER(Player player, BOOL toggle, BOOL p2)
Hash
0xBBDF066252829606

Open in the interactive natives reference