TasksClient

isPedPlayingBaseClipInScenario

IS_PED_PLAYING_BASE_CLIP_IN_SCENARIO0x621C6E4729388E41

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Used only once (am_mp_property_int)

ped was playerPedId()

Reference

Namespace
Tasks TASK
In the game
BOOL IS_PED_PLAYING_BASE_CLIP_IN_SCENARIO(Ped ped)
Hash
0x621C6E4729388E41

Open in the interactive natives reference