isPedActiveInScenario
IS_PED_ACTIVE_IN_SCENARIO0xAA135F9482C82CC3The GTA V native IS_PED_ACTIVE_IN_SCENARIO of the TASK namespace, as LS:MP client scripts call it: the global function isPedActiveInScenario, in JavaScript and in Lua.
isPedActiveInScenario(ped: Ped): booleanisPedActiveInScenario(ped: Ped): booleanUsage
JavaScript
const result = isPedActiveInScenario(ped);Lua
local result = isPedActiveInScenario(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Tasks TASK
- In the game
BOOL IS_PED_ACTIVE_IN_SCENARIO(Ped ped)- Hash
0xAA135F9482C82CC3