mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-08 09:12:52 +03:00
0.7 + 1.7.5.M1D19
This commit is contained in:
@@ -298,6 +298,17 @@ if (!isDedicated) then {
|
||||
};
|
||||
//if (_dikCode == 57) then {_handled = true}; // space
|
||||
//if (_dikCode in actionKeys 'MoveForward' or _dikCode in actionKeys 'MoveBack') then {r_interrupt = true};
|
||||
if ("ItemMap_Debug" in items player) then {
|
||||
if (_dikCode == 88) then //SCROLL LOCK
|
||||
{
|
||||
_nill = execvm "\z\addons\dayz_code\actions\playerstats.sqf";
|
||||
};
|
||||
} else {
|
||||
if (_dikCode == 70) then //SCROLL LOCK
|
||||
{
|
||||
_nill = execvm "\z\addons\dayz_code\actions\playerstats.sqf";
|
||||
};
|
||||
};
|
||||
if (_dikCode in actionKeys "MoveLeft") then {r_interrupt = true};
|
||||
if (_dikCode in actionKeys "MoveRight") then {r_interrupt = true};
|
||||
if (_dikCode in actionKeys "MoveForward") then {r_interrupt = true};
|
||||
@@ -394,18 +405,6 @@ if (!isDedicated) then {
|
||||
_vdir
|
||||
};
|
||||
|
||||
fnc_onKeyDown =
|
||||
{
|
||||
private["_key"];
|
||||
_key = _this select 1;
|
||||
if (_key == 70) then //SCROLL LOCK
|
||||
{
|
||||
_nill = execvm "\z\addons\dayz_code\actions\playerstats.sqf";
|
||||
_shift = nil;
|
||||
};
|
||||
_return
|
||||
};
|
||||
|
||||
dayz_lowHumanity = {
|
||||
private["_unit","_humanity","_delay"];
|
||||
_unit = _this;
|
||||
|
||||
Reference in New Issue
Block a user