MiscClient

playTennisDiveAnim

PLAY_TENNIS_DIVE_ANIM0x8FA9C42FC5D7C64B

The GTA V native PLAY_TENNIS_DIVE_ANIM of the MISC namespace, as LS:MP client scripts call it: the global function playTennisDiveAnim, in JavaScript and in Lua.

SignatureJavaScript
playTennisDiveAnim(
  ped: Ped,
  p1: number,
  p2: number,
  p3: number,
  p4: number,
  p5: boolean
): void
SignatureLua
playTennisDiveAnim(
  ped: Ped,
  p1: integer,
  p2: number,
  p3: number,
  p4: number,
  p5: boolean
)

Usage

JavaScript
playTennisDiveAnim(ped, p1, p2, p3, p4, p5);
Lua
playTennisDiveAnim(ped, p1, p2, p3, p4, p5)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1intnumberinteger
p2floatnumbernumber
p3floatnumbernumber
p4floatnumbernumber
p5BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void PLAY_TENNIS_DIVE_ANIM(Ped ped, int p1, float p2, float p3, float p4, BOOL p5)
Hash
0x8FA9C42FC5D7C64B

Open in the interactive natives reference