The Lab
TASK native

ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED

returns BOOL1 parambuild 1207

Returns true once the assets of the lootable composite asset are loaded.

Signature

C
BOOL ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED(Hash asset); // 0x5E5D96BE25E9DF68 b1207

Parameters

#NameType
1assetHash

Facts

Facts about ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
Name
ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
Hash
0x5E5D96BE25E9DF68
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(0x5E5D96BE25E9DF68, -- ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
  GetHashKey("name") -- Hash asset
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x5E5D96BE25E9DF68", // ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
  GetHashKey("name"), // Hash asset
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x5E5D96BE25E9DF68, // ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
  (uint)API.GetHashKey("name") // Hash asset
);
All TASK natives

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