_REMOVE_SCENARIO_ASSET
Releases the assets loaded for the scenario type scenarioType.
Signature
Any _REMOVE_SCENARIO_ASSET(Hash scenarioType); // 0x4EDDD9E9CA5AF985 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenarioType | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0x4EDDD9E9CA5AF985, -- _REMOVE_SCENARIO_ASSET
GetHashKey("name"), -- Hash scenarioType
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x4EDDD9E9CA5AF985", // _REMOVE_SCENARIO_ASSET
GetHashKey("name"), // Hash scenarioType
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x4EDDD9E9CA5AF985, // _REMOVE_SCENARIO_ASSET
(uint)API.GetHashKey("name") // Hash scenarioType
);Related STREAMING natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.