Skip to main content

Player::taskTurnToFace

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

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.taskTurnToFace(entity, duration);

Required Arguments​

  • entity: Entity handle or object
  • duration: int

Return value​

  • Undefined

Example​

// todo