ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
Returns true once the assets of the lootable composite asset are loaded.
Signature
BOOL ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED(Hash asset); // 0x5E5D96BE25E9DF68 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | asset | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0x5E5D96BE25E9DF68, -- ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
GetHashKey("name") -- Hash asset
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x5E5D96BE25E9DF68", // ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
GetHashKey("name"), // Hash asset
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x5E5D96BE25E9DF68, // ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
(uint)API.GetHashKey("name") // Hash asset
);Related TASK natives
- TASK_FOLLOW_ENTITY_WHILE_AIMING_AT_ENTITY
- TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY
- TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY_USING_COMBAT_STYLE
- ASSISTED_MOVEMENT_IS_ROUTE_LOADED
- _ADD_COVER_POINT_FOR_ENTITY
- _GET_HERB_COMPOSITE_NUM_ENTITIES
- _GET_ITEM_INTERACTION_ENTITY_FROM_PED
- _GET_SCENARIO_POINT_ENTITY
- _HAS_REQUESTED_CARRIABLE_CONFIG_LOADED
- _IS_ENTITY_REVIVABLE
- _PED_FISHINGROD_HOOK_ENTITY
- _REQUEST_HERB_COMPOSITE_ASSET
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.