MiscClient

isTennisMode

IS_TENNIS_MODE0x5D5479D115290C3F

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL IS_TENNIS_MODE(Ped ped)
Hash
0x5D5479D115290C3F

Open in the interactive natives reference