_HAS_PROP_SET_LOADED_2
Based on its name and signature, here is our best reading:
Alternative check for whether a prop set asset has loaded. Its difference from the main variant is not documented.
Signature
BOOL _HAS_PROP_SET_LOADED_2(Hash hash); // 0xD090ABEF4D6A7D96 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | hash | Hash |
Facts
| Name | _HAS_PROP_SET_LOADED_2 |
|---|---|
| Hash | 0xD090ABEF4D6A7D96 |
| 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(0xD090ABEF4D6A7D96, -- _HAS_PROP_SET_LOADED_2
GetHashKey("name") -- Hash hash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xD090ABEF4D6A7D96", // _HAS_PROP_SET_LOADED_2
GetHashKey("name"), // Hash hash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xD090ABEF4D6A7D96, // _HAS_PROP_SET_LOADED_2
(uint)API.GetHashKey("name") // Hash hash
);Related PROPSET natives
- _HAS_PROP_SET_LOADED
- _HAS_VEHICLE_TRAILER_PROP_SET_LOADED
- _CREATE_PROP_SET_2
- _CREATE_PROP_SET_INSTANCE_ATTACHED_TO_ENTITY_2
- _IS_VEHICLE_LIGHT_PROP_SET_LOADED
- _IS_VEHICLE_PROP_SET_LOADED
- _IS_VEHICLE_PROP_SET_LOADED_ADDITIONAL
- _REQUEST_PROP_SET_2
- _SET_PROP_SET_AS_NO_LONGER_NEEDED
- _SET_PROP_SET_FLAG
- _SET_PROP_SET_VISIBLE
- IS_PROP_SET_FULLY_LOADED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.