_REQUEST_HERB_COMPOSITE_ASSET
Requests the composite asset asset and returns true once it is loaded.
Signature
BOOL _REQUEST_HERB_COMPOSITE_ASSET(Hash asset); // 0x73F0D0327BFA0812 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | asset | Hash |
Facts
| Name | _REQUEST_HERB_COMPOSITE_ASSET |
|---|---|
| Hash | 0x73F0D0327BFA0812 |
| 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(0x73F0D0327BFA0812, -- _REQUEST_HERB_COMPOSITE_ASSET
GetHashKey("name") -- Hash asset
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x73F0D0327BFA0812", // _REQUEST_HERB_COMPOSITE_ASSET
GetHashKey("name"), // Hash asset
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x73F0D0327BFA0812, // _REQUEST_HERB_COMPOSITE_ASSET
(uint)API.GetHashKey("name") // Hash asset
);Related TASK natives
- _GET_HERB_COMPOSITE_NUM_ENTITIES
- _REQUEST_CARRIABLE_CONFIG
- _CREATE_HERB_COMPOSITES
- _DELETE_PATCH_OBJECTS_FROM_HERB_COMPOSITES
- ARE_COMPOSITE_LOOTABLE_ENTITY_DEF_ASSETS_LOADED
- REQUEST_TASK_MOVE_NETWORK_STATE_TRANSITION
- REQUEST_WAYPOINT_RECORDING
- _REMOVE_CARRIABLE_CONFIG
- _RESET_SCENARIO_FOR_ENTITY
- _RESET_SCENARIO_SCRIPT
- _ADD_COVER_BLOCKING_VOLUME
- _ADD_COVER_POINT_FOR_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.