TASK_AIM_GUN_AT_ENTITY
duration: the amount of time in milliseconds to do the task. -1 will keep the task going until either another task is applied, or CLEAR_ALL_TASKS() is called with the ped
TASKBuild 1207
Signature
lua
TaskAimGunAtEntity(PlayerPedId(), targetEntity, 0, true, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| Entity | — | |
| int | — | |
| BOOL | — | |
| int | — |
Usage
lua
TaskAimGunAtEntity(PlayerPedId(), targetEntity, 0, true, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
