Skip to main content

Gameplay::playTennisDiveAnim

Client-side function

JavaScript​

Plays tennis dive animation to the given ped

Required Values​

  • ped: number
  • direction: number (0 or 1)
  • diveHorizontal: float
  • diveVertical: float
  • playRate: float
  • slowBlend: boolean

Return value​

  • boolean

Syntax​

mp.game.gameplay.playTennisDiveAnim(ped, direction, diveHorizontal, diveVertical, playRate, slowBlend);

Example​

//todo