Set cruise control on current speed
This commit is contained in:
@@ -131,14 +131,13 @@ function setAllVehicleDataIndexes() {
|
|||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function toggleVehicleCruiseControl(vehicle) {
|
function toggleLocalVehicleCruiseControl() {
|
||||||
if (!vehicle.isSyncer) {
|
if (!localPlayer.vehicle.isSyncer) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cruiseControl = !cruiseControl;
|
cruiseControl = !cruiseControl;
|
||||||
|
cruiseControlSpeed = getVehicleSpeed(vehicle);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user