The Lab
STREAMING native

_REMOVE_SCENARIO_ASSET

returns Any1 parambuild 1207

Releases the assets loaded for the scenario type scenarioType.

Signature

C
Any _REMOVE_SCENARIO_ASSET(Hash scenarioType); // 0x4EDDD9E9CA5AF985 b1207

Parameters

#NameType
1scenarioTypeHash

Facts

Facts about _REMOVE_SCENARIO_ASSET
Name
_REMOVE_SCENARIO_ASSET
Hash
0x4EDDD9E9CA5AF985
Namespace
Returns
Any
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(0x4EDDD9E9CA5AF985, -- _REMOVE_SCENARIO_ASSET
  GetHashKey("name"), -- Hash scenarioType
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x4EDDD9E9CA5AF985", // _REMOVE_SCENARIO_ASSET
  GetHashKey("name"), // Hash scenarioType
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x4EDDD9E9CA5AF985, // _REMOVE_SCENARIO_ASSET
  (uint)API.GetHashKey("name") // Hash scenarioType
);
All STREAMING natives

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