The Lab
TASK native

_RESET_SCENARIO_FOR_ENTITY

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Resets the scenario point scenario for entity.

Signature

C
void _RESET_SCENARIO_FOR_ENTITY(int scenario, Entity entity); // 0x2E20878FD208A68E b1207

Parameters

#NameType
1scenarioint
2entityEntity

Facts

Facts about _RESET_SCENARIO_FOR_ENTITY
Name
_RESET_SCENARIO_FOR_ENTITY
Hash
0x2E20878FD208A68E
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x2E20878FD208A68E, -- _RESET_SCENARIO_FOR_ENTITY
  0, -- int scenario
  PlayerPedId() -- Entity entity
)
JavaScript
Citizen.invokeNative("0x2E20878FD208A68E", // _RESET_SCENARIO_FOR_ENTITY
  0, // int scenario
  PlayerPedId() // Entity entity
);
C#
Function.Call((Hash)0x2E20878FD208A68E, // _RESET_SCENARIO_FOR_ENTITY
  0, // int scenario
  API.PlayerPedId() // Entity entity
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.