MiscClient

getTennisSwingAnimCanBeInterrupted

GET_TENNIS_SWING_ANIM_CAN_BE_INTERRUPTED0x19BFED045C647C49

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

SignatureJavaScript
getTennisSwingAnimCanBeInterrupted(ped: Ped): boolean
SignatureLua
getTennisSwingAnimCanBeInterrupted(ped: Ped): boolean

Usage

JavaScript
const result = getTennisSwingAnimCanBeInterrupted(ped);
Lua
local result = getTennisSwingAnimCanBeInterrupted(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL GET_TENNIS_SWING_ANIM_CAN_BE_INTERRUPTED(Ped ped)
Hash
0x19BFED045C647C49

Open in the interactive natives reference