_HAS_PED_DIRECTED_TASK_ACTIVE
Returns true if the given entity currently has an active directed task that is, a task with a specific external objective (coordinate, entity, vehicle, or combat target) Known to return true for: TaskGoToCoordAnyMeans(ped, ...) TaskGoToEntity(ped, target, ...) TaskCombatPed(ped, targetPed, ...) TaskWarpPedIntoVehicle(ped, vehicle)
TASKBuild 1207
Signature
lua
HasPedDirectedTaskActive(entity)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| Entity | — |
Usage
lua
HasPedDirectedTaskActive(entity)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
