ENTITY

HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT

0x0267D00AF114F17A Jenkins: 0x210D87C8

Signature

// ENTITY
BOOL HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT(Entity entity1, Entity entity2)

Parameters

Type Name
Entity entity1
Entity entity2

Return type BOOL

Build 323

Documentation

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

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.