IS_TARGET_PED_IN_PERCEPTION_AREA
Returns true if ped is in perception (focused and looking at target ped) Most float params are -1.f in R* Scripts
PEDBuild 1207
Signature
lua
IsTargetPedInPerceptionArea(PlayerPedId(), targetPed, 0.0, 0.0, 0.0, 0.0)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| Ped | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — |
Usage
lua
IsTargetPedInPerceptionArea(PlayerPedId(), targetPed, 0.0, 0.0, 0.0, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
