Add Bike/Motorcycles brake fix

Made by @Victor-the-Cleaner
This commit is contained in:
A Man
2022-05-18 18:20:29 +02:00
parent 0799e7e183
commit 2ebe0d6552
5 changed files with 42 additions and 3 deletions

View File

@@ -309,8 +309,11 @@ while {1 == 1} do {
//sleep 1;
};
//Crowbar ammo fix
//"MeleeCrowbar" call dayz_meleeMagazineCheck;
// Brake Fix for Motorcycles and Bicycles
if (!DZE_isOnBike && {_refObj isKindOf "Motorcycle" && {driver _refObj == player}}) then { // player just mounted a motorcycle or bicycle
DZE_isOnBike = true;
[_refObj] spawn fnc_brakeFix;
};
/*
_stop = diag_tickTime;