RedM Natives

_RESET_SCENARIO_FOR_ENTITY

Hash0x2E20878FD208A68E
Runtime nameResetScenarioForEntity
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _RESET_SCENARIO_FOR_ENTITY(int scenario, Entity entity);

Parameters

NameTypeDescription
scenarioint—
entityEntity—

Returns void

Usage

Lua
ResetScenarioForEntity(scenario, entity)

-- always works, by hash
Citizen.InvokeNative(0x2E20878FD208A68E, scenario, entity)
JavaScript and C#
JavaScript
ResetScenarioForEntity(scenario, entity);

// by hash
Citizen.invokeNative('0x2E20878FD208A68E', scenario, entity);
C#
Function.Call((Hash)0x2E20878FD208A68E, scenario, entity);
  • 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.

Sources

alloc8or RDR3 NativeDB

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