isEntityVisible
IS_ENTITY_VISIBLE0x47D6F43D77935C75The GTA V native IS_ENTITY_VISIBLE of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityVisible, in JavaScript and in Lua.
isEntityVisible(entity: Entity): booleanisEntityVisible(entity: Entity): booleanUsage
JavaScript
const result = isEntityVisible(entity);Lua
local result = isEntityVisible(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_VISIBLE(Entity entity)- Hash
0x47D6F43D77935C75