removed ;

This commit is contained in:
He-Man 2018-01-18 22:26:41 +01:00
parent 096f03e7b9
commit b5a99880d8
2 changed files with 6 additions and 7 deletions

View File

@ -1,10 +1,9 @@
/*
Author: [Ignatz] He-Man
Author: He-Man
Contributors:
Description:
Autorun script
Description: Autorun script
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike

View File

@ -20,17 +20,17 @@
private["_canAutoRun","_currentPos"];
_canAutoRun = true;
if !(istouchingground player) exitwith {
false;
false
};
if !((vehicle player) == player) exitwith {
false;
false
};
if ((getPosasl player) select 2 < -0.5) exitwith {
false;
false
};
if ((player getHitPointDamage "HitLegs") >= 0.5) exitwith {
["Can not AutoRun - Your legs are Broken!",5] call Epoch_Message;
false;
false
};
if !(player nearObjects["Const_All_Walls_F", 6] isEqualTo[]) then {
_currentPos = player modelToWorld [0, 1, 1];