RedM Natives

_REMOVE_SCENARIO_TYPE_FOR_PED

removes the requested scenario type for ped using the id returned by `_REQUEST_SCENARIO_TYPE_FOR_PED`

Hash0x66BC28E50E85270E
Runtime nameRemoveScenarioTypeForPed
NamespaceSTREAMING
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Any _REMOVE_SCENARIO_TYPE_FOR_PED(Any p0);

Parameters

NameTypeDescription
p0Any—

Returns Any

Description

VORPCORE RDR3natives

removes the requested scenario type for ped using the id returned by _REQUEST_SCENARIO_TYPE_FOR_PED

Usage

Lua
local retval = RemoveScenarioTypeForPed(p0)

-- always works, by hash
local retval = Citizen.InvokeNative(0x66BC28E50E85270E, p0, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = RemoveScenarioTypeForPed(p0);

// by hash
const retval = Citizen.invokeNative('0x66BC28E50E85270E', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x66BC28E50E85270E, p0);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.