Native referenceFiveM

IS_ENTITY_IN_ANGLED_AREA

0x51210CED3DA1C78A ENTITY
FUNCTION SIGNATURE
BOOL IS_ENTITY_IN_ANGLED_AREA(Entity entity, float x1, float y1, float z1, float x2, float y2, float z2, float width, BOOL debug, BOOL includez, Any p10);
Property Value
Native Name IS_ENTITY_IN_ANGLED_AREA
Hash 0x51210CED3DA1C78A
Return Type BOOL
Parameters entity (Entity), x1 (float), y1 (float), z1 (float), x2 (float), y2 (float), z2 (float), width (float), debug (BOOL), includez (BOOL), p10 (Any)

Description: p10 is some entity flag check, also used in IS_ENTITY_AT_ENTITY, IS_ENTITY_IN_AREA and IS_ENTITY_AT_COORD.

See IS_POINT_IN_ANGLED_AREA for the definition of an angled area.

Parameters

  • entity (Entity)
  • x1 (float) — X dimension of the angled area 'origin'
  • y1 (float) — Y dimension of the angled area 'origin'
  • z1 (float) — Z dimension of the angled area 'origin'
  • x2 (float) — X dimension of the angled area 'extent'
  • y2 (float) — Y dimension of the angled area 'extent'
  • z2 (float) — Z dimension of the angled area 'extent'
  • width (float) — Width of the angled area
  • debug (BOOL) — a debug flag invoking functions in the same path as DRAW_MARKER
  • includez (BOOL) — If true, include the Z dimension when doing the height check; otherwise the query becomes two-dimensional
  • p10 (Any)
Back to ENTITY