The Lab
VEHICLE native

_GET_DRAFT_VEHICLE_DESIRED_SPEED

returns float1 parambuild 1207

Returns the desired speed of the draft vehicle vehicle.

Signature

C
float _GET_DRAFT_VEHICLE_DESIRED_SPEED(Vehicle vehicle); // 0xC6D7DDC843176701 b1207

Parameters

#NameType
1vehicleVehicle

Facts

Facts about _GET_DRAFT_VEHICLE_DESIRED_SPEED
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.

Lua
local result = Citizen.InvokeNative(0xC6D7DDC843176701, -- _GET_DRAFT_VEHICLE_DESIRED_SPEED
  0, -- Vehicle vehicle
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xC6D7DDC843176701", // _GET_DRAFT_VEHICLE_DESIRED_SPEED
  0, // Vehicle vehicle
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xC6D7DDC843176701, // _GET_DRAFT_VEHICLE_DESIRED_SPEED
  0 // Vehicle vehicle
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.