hasEntityClearLosToEntityAdjustForCover
HAS_ENTITY_CLEAR_LOS_TO_ENTITY_ADJUST_FOR_COVER0x394BDE2A7BBA031EThe GTA V native HAS_ENTITY_CLEAR_LOS_TO_ENTITY_ADJUST_FOR_COVER of the ENTITY namespace, as LS:MP client scripts call it: the global function hasEntityClearLosToEntityAdjustForCover, in JavaScript and in Lua.
hasEntityClearLosToEntityAdjustForCover(
entity1: Entity,
entity2: Entity,
traceType: number
): booleanhasEntityClearLosToEntityAdjustForCover(
entity1: Entity,
entity2: Entity,
traceType: integer
): booleanUsage
JavaScript
const result = hasEntityClearLosToEntityAdjustForCover(entity1, entity2, traceType);Lua
local result = hasEntityClearLosToEntityAdjustForCover(entity1, entity2, traceType)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity1 | Entity | number | integer |
entity2 | Entity | number | integer |
traceType | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL HAS_ENTITY_CLEAR_LOS_TO_ENTITY_ADJUST_FOR_COVER(Entity entity1, Entity entity2, int traceType)- Hash
0x394BDE2A7BBA031E- Introduced
- Game build 1868 legacy numbering
- Formerly
_HAS_ENTITY_CLEAR_LOS_TO_ENTITY_2