Gameplay::playTennisDiveAnim

From RAGE Multiplayer Wiki
Revision as of 10:41, 29 April 2024 by Shr0x (talk | contribs) (Created page with "{{ClientsideJsFunction}} {{JSContainer| Plays tennis dive animation to the given ped ===Required Values=== *'''ped:''' {{RageType|number}} *'''direction:''' {{RageType|number}} (0 or 1) *'''diveHorizontal:''' {{RageType|float}} *'''diveVertical:''' {{RageType|float}} *'''playRate:''' {{RageType|float}} *'''slowBlend:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.playTennisDiveAn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

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


See also