{"hash":"0xC6D7DDC843176701","ns":"VEHICLE","name":"_GET_DRAFT_VEHICLE_DESIRED_SPEED","slug":"_GET_DRAFT_VEHICLE_DESIRED_SPEED","official":false,"named":true,"luaName":"GetDraftVehicleDesiredSpeed","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"vehicle","type":"Vehicle"}],"summary":"Returns rage::NumericLimits<float>::kMax (3.402823466e+38) if vehicle is not a valid vehicle of type VEHICLE_TYPE_DRAFT.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns rage::NumericLimits<float>::kMax (3.402823466e+38) if vehicle is not a valid vehicle of type VEHICLE_TYPE_DRAFT."}],"examples":[],"aliases":[],"enums":[],"related":["0x0C3F0F7F92CA847C"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_DRAFT_VEHICLE_DESIRED_SPEED","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_DRAFT_VEHICLE_DESIRED_SPEED.md","snippets":{"lua":"local retval = GetDraftVehicleDesiredSpeed(vehicle)","luaInvoke":"local retval = Citizen.InvokeNative(0xC6D7DDC843176701, vehicle, Citizen.ResultAsFloat())","js":"const retval = GetDraftVehicleDesiredSpeed(vehicle);","jsInvoke":"const retval = Citizen.invokeNative('0xC6D7DDC843176701', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0xC6D7DDC843176701, vehicle);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}