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