NetworkClient

networkConcealEntity

NETWORK_CONCEAL_ENTITY0x1632BE0AC1E62876

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

SignatureJavaScript
networkConcealEntity(entity: Entity, toggle: boolean): void
SignatureLua
networkConcealEntity(entity: Entity, toggle: boolean)

Usage

JavaScript
networkConcealEntity(entity, toggle);
Lua
networkConcealEntity(entity, toggle)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_CONCEAL_ENTITY(Entity entity, BOOL toggle)
Hash
0x1632BE0AC1E62876
Introduced
Game build 877 legacy numbering
Formerly
_NETWORK_CONCEAL_ENTITY

Open in the interactive natives reference