PedClient

isPedUsingAnyScenario

IS_PED_USING_ANY_SCENARIO0x57AB4A3080F85143

The GTA V native IS_PED_USING_ANY_SCENARIO of the PED namespace, as LS:MP client scripts call it: the global function isPedUsingAnyScenario, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_USING_ANY_SCENARIO(Ped ped)
Hash
0x57AB4A3080F85143

Open in the interactive natives reference