_IS_THIS_MODEL_A_DRAFT_VEHICLE
Returns true if model is a horse-drawn vehicle model.
Signature
BOOL _IS_THIS_MODEL_A_DRAFT_VEHICLE(Hash model); // 0xB9D5BDDA88E1BB66 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | model | Hash |
Facts
| Name | _IS_THIS_MODEL_A_DRAFT_VEHICLE |
|---|---|
| Hash | 0xB9D5BDDA88E1BB66 |
| 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(0xB9D5BDDA88E1BB66, -- _IS_THIS_MODEL_A_DRAFT_VEHICLE
GetHashKey("a_c_horse_arabian_white") -- Hash model
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xB9D5BDDA88E1BB66", // _IS_THIS_MODEL_A_DRAFT_VEHICLE
GetHashKey("a_c_horse_arabian_white"), // Hash model
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xB9D5BDDA88E1BB66, // _IS_THIS_MODEL_A_DRAFT_VEHICLE
(uint)API.GetHashKey("a_c_horse_arabian_white") // Hash model
);Related VEHICLE natives
- IS_THIS_MODEL_A_BOAT
- IS_THIS_MODEL_A_TRAIN
- _SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION
- IS_DRAFT_VEHICLE
- IS_VEHICLE_MODEL
- _IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE
- _IS_VEHICLE_BROUGHT_TO_HALT
- _IS_VEHICLE_DOOR_BROKEN
- _IS_VEHICLE_FADING_OUT
- _IS_VEHICLE_ON_FIRE
- _IS_VEHICLE_TOUCHING_VEGETATION
- _IS_VEHICLE_WHEEL_DESTROYED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.