NetworkClient

networkIsEntityConcealed

NETWORK_IS_ENTITY_CONCEALED0x71302EC70689052A

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

SignatureJavaScript
networkIsEntityConcealed(entity: Entity): boolean
SignatureLua
networkIsEntityConcealed(entity: Entity): boolean

Usage

JavaScript
const result = networkIsEntityConcealed(entity);
Lua
local result = networkIsEntityConcealed(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Note: This only works for vehicles, which appears to be a bug (since the setter _does_ work for every entity type and the name is 99% correct).

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_ENTITY_CONCEALED(Entity entity)
Hash
0x71302EC70689052A
Introduced
Game build 877 legacy numbering
Formerly
_NETWORK_IS_ENTITY_CONCEALED

Open in the interactive natives reference