The Lab
PERSISTENCE native

_PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED

returns BOOL1 parambuild 1207

Returns true if the given scenario point has been recorded as already looted.

Signature

C
BOOL _PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED(int scenario); // 0xFB7CF1DE938A3E22 b1207

Parameters

#NameType
1scenarioint

Facts

Facts about _PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED
Name
_PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED
Hash
0xFB7CF1DE938A3E22
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xFB7CF1DE938A3E22, -- _PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED
  0 -- int scenario
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xFB7CF1DE938A3E22", // _PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED
  0, // int scenario
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xFB7CF1DE938A3E22, // _PERSISTENCE_IS_SCENARIO_MARKED_AS_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.