IS_PED_ACTIVE_IN_SCENARIO
Hash
0xAA135F9482C82CC3Runtime name
IsPedActiveInScenarioNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xAA135F9482C82CC3Signature
BOOL IS_PED_ACTIVE_IN_SCENARIO(Ped ped, int scenario);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
scenario | int | — |
Returns BOOL
Usage
local retval = IsPedActiveInScenario(ped, scenario)
-- always works, by hash
local retval = Citizen.InvokeNative(0xAA135F9482C82CC3, ped, scenario, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedActiveInScenario(ped, scenario);
// by hash
const retval = Citizen.invokeNative('0xAA135F9482C82CC3', ped, scenario, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xAA135F9482C82CC3, ped, scenario);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.