_GET_DRAFT_VEHICLE_DESIRED_SPEED
Returns the desired speed of the draft vehicle vehicle.
Signature
float _GET_DRAFT_VEHICLE_DESIRED_SPEED(Vehicle vehicle); // 0xC6D7DDC843176701 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | _GET_DRAFT_VEHICLE_DESIRED_SPEED |
|---|---|
| Hash | 0xC6D7DDC843176701 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xC6D7DDC843176701, -- _GET_DRAFT_VEHICLE_DESIRED_SPEED
0, -- Vehicle vehicle
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0xC6D7DDC843176701", // _GET_DRAFT_VEHICLE_DESIRED_SPEED
0, // Vehicle vehicle
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0xC6D7DDC843176701, // _GET_DRAFT_VEHICLE_DESIRED_SPEED
0 // Vehicle vehicle
);Related VEHICLE natives
- _SET_DRAFT_VEHICLE_DESIRED_SPEED
- _GET_NUM_DRAFT_VEHICLE_HARNESS_PED
- _GET_NUM_DRAFT_VEHICLE_LOGS
- _GET_NUM_DRAFT_VEHICLE_STRAPS
- _SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION
- GET_VEHICLE_ESTIMATED_MAX_SPEED
- GET_VEHICLE_TRAILER_VEHICLE
- _GET_BALLOON_OBJECT_FROM_VEHICLE
- _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
- _GET_BREAKABLE_VEHICLE_LOCKS_STATE
- _GET_NUM_BREAKABLE_VEHICLE_LOCK_OBJECTS
- _GET_PED_IN_DRAFT_HARNESS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.