Native referenceFiveM

HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT

0x0267D00AF114F17A ENTITY
FUNCTION SIGNATURE
BOOL HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT(Entity entity1, Entity entity2);
Property Value
Native Name HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT
Hash 0x0267D00AF114F17A
Return Type BOOL
Parameters entity1 (Entity), entity2 (Entity)

Description: ``` Has the entity1 got a clear line of sight to the other entity2 from the direction entity1 is facing.
This is one of the most CPU demanding BOOL natives in the game; avoid calling this in things like nested for-loops

Back to ENTITY