Skip to main content

Gameplay::playTennisSwingAnim

Client-side function

JavaScript​

Plays tennis swing animation.

Required Values​

  • ped: number
  • animDict: string
  • animName: string
  • startPhase: float
  • playRate: float
  • slowBlend: boolean

Return value​

  • void

Syntax​

mp.game.gameplay.playTennisSwingAnim(ped, animDict, animName, startPhase, playRate, slowBlend);

Example​

//todo