TasksClient

isPlayingPhoneGestureAnim

IS_PLAYING_PHONE_GESTURE_ANIM0xB8EBB1E9D3588C10

The GTA V native IS_PLAYING_PHONE_GESTURE_ANIM of the TASK namespace, as LS:MP client scripts call it: the global function isPlayingPhoneGestureAnim, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Tasks TASK
In the game
BOOL IS_PLAYING_PHONE_GESTURE_ANIM(Ped ped)
Hash
0xB8EBB1E9D3588C10

Open in the interactive natives reference