IS_ENTITY_IN_ANGLED_AREA
Creates a spherical cone at origin that extends to surface with the angle specified. Then returns true if the entity is inside the spherical cone Angle is measured in degrees.
ENTITYBuild 1207
Signature
lua
IsEntityInAngledArea(entity, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true, true, p10)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| Entity | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| BOOL | — | |
| BOOL | — | |
| Any | — |
Usage
lua
IsEntityInAngledArea(entity, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true, true, p10)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
