networkIsEntityConcealed
NETWORK_IS_ENTITY_CONCEALED0x71302EC70689052AThe 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.
networkIsEntityConcealed(entity: Entity): booleannetworkIsEntityConcealed(entity: Entity): booleanUsage
JavaScript
const result = networkIsEntityConcealed(entity);Lua
local result = networkIsEntityConcealed(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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