Skip to main content

Player::taskAimGunAt

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

Syntax

```js player.taskAimGunAt(entity, duration, p3); ```

Required Arguments

  • entity: Entity handle or object
  • duration: int
  • p3: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also