The Lab
PERSISTENCE native

PERSISTENCE_ADD_SCENARIO_LOOTED

returns void1 parambuild 1207

Records the given scenario point as looted so it is treated as already searched.

Signature

C
void PERSISTENCE_ADD_SCENARIO_LOOTED(int scenario); // 0x8245C1F3262F4AC2 b1207

Parameters

#NameType
1scenarioint

Facts

Facts about PERSISTENCE_ADD_SCENARIO_LOOTED
Name
PERSISTENCE_ADD_SCENARIO_LOOTED
Hash
0x8245C1F3262F4AC2
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(0x8245C1F3262F4AC2, -- PERSISTENCE_ADD_SCENARIO_LOOTED
  0 -- int scenario
)
JavaScript
Citizen.invokeNative("0x8245C1F3262F4AC2", // PERSISTENCE_ADD_SCENARIO_LOOTED
  0 // int scenario
);
C#
Function.Call((Hash)0x8245C1F3262F4AC2, // PERSISTENCE_ADD_SCENARIO_LOOTED
  0 // int scenario
);
All PERSISTENCE natives

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