isPedUsingAnyScenario
IS_PED_USING_ANY_SCENARIO0x57AB4A3080F85143The 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.
isPedUsingAnyScenario(ped: Ped): booleanisPedUsingAnyScenario(ped: Ped): booleanUsage
JavaScript
const result = isPedUsingAnyScenario(ped);Lua
local result = isPedUsingAnyScenario(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_USING_ANY_SCENARIO(Ped ped)- Hash
0x57AB4A3080F85143