mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 11:31:36 +03:00
should increase timer each time after lockout
This commit is contained in:
1 parent
1d2cee1e02
commit
9907889e23
1 file changed
+4
-2
@@ -48,11 +48,13 @@ if(!isNull dayz_selectedDoor) then {
|
||||
|
||||
KeyCodeTry = KeyCodeTry + 1;
|
||||
|
||||
if(KeyCodeTry >= 5) then {
|
||||
if (!isNil 'KeyCodeTryTimer') then {KeyCodeTryTimer = diag_tickTime+10;};
|
||||
|
||||
if(KeyCodeTry >= ((round(random 4)) + 4)) then {
|
||||
|
||||
if (isNil 'KeyCodeTryTimer') then {KeyCodeTryTimer = diag_tickTime+10;};
|
||||
|
||||
cutText ["Wrong code entered too many times wait 10 seconds", "PLAIN DOWN"];
|
||||
cutText ["Wrong code entered to many times wait 10 seconds", "PLAIN DOWN"];
|
||||
_display = findDisplay 41144;
|
||||
_display closeDisplay 3000;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user