Player::taskAimGunAt

From RAGE Multiplayer Wiki
Revision as of 23:40, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

player.taskAimGunAt(entity, duration, p3);

Required Arguments

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

Return value

  • Undefined

Example

// todo

See also