Penalty for looking through Floors (Tower-Glitch)

This commit is contained in:
He-Man 2018-04-08 04:28:01 +02:00
parent 8796a2de89
commit 946762fa06
2 changed files with 17 additions and 0 deletions

View File

@ -8,4 +8,18 @@ if (EPOCH_IsAutoRunning) then {
EPOCH_IsAutoRunning = false;
player switchMove "";
};
};
if (animationstate player in ['aadjpknlmstpsraswpstddown','aadjpknlmstpsraswrflddown'] && cameraview == 'GUNNER' && (player weapondirection (currentweapon player)) select 2 < -0.88) then {
_fadedblack = true;
TitleText ['Stop BugUsing!','BLACK FADED'];
}
else {
if(_fadedblack) then {
[] spawn {
uisleep 2;
TitleText ['','PLAIN DOWN'];
};
_fadedblack = false;
};
};

View File

@ -13,6 +13,9 @@ EPOCH_forceUpdateNow = false;
// start alive timer
_clientAliveTimer = diag_tickTime;
// Fade Black Screen
_fadedblack = false;
// init player stat vars
_gmVarsInit = ["CfgEpochClient", "gmVars", [["Temp",98.6],["Hunger",500],["Thirst",500],["Toxicity",0],["Stamina",10],["BloodP",100],["Alcohol",0],["Radiation",0]]] call EPOCH_fnc_returnConfigEntryV2;
_gModeVarNames = _gmVarsInit apply {_x param [0,""]};