IsEntityInAngledArea — FiveM Natives
0x51210CED3DA1C78A · ENTITY · all
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
| Name | Type | Description |
|---|---|---|
| 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 |
Returns
BOOL