isEntityOccluded
IS_ENTITY_OCCLUDED0xE31C2C72B8692B64The GTA V native IS_ENTITY_OCCLUDED of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityOccluded, in JavaScript and in Lua.
isEntityOccluded(entity: Entity): booleanisEntityOccluded(entity: Entity): booleanUsage
JavaScript
const result = isEntityOccluded(entity);Lua
local result = isEntityOccluded(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_OCCLUDED(Entity entity)- Hash
0xE31C2C72B8692B64