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