mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
@@ -3,7 +3,7 @@ _amm=_this select 4;
|
||||
_this call (call compile GetText (configFile >> "CfgAmmo" >> _amm >> "muzzleEffect"));
|
||||
//Handle combat in vehicle
|
||||
if (player in (crew (_this select 0))) then {
|
||||
if (player getVariable ["inCombat",false]) then {
|
||||
if !(player getVariable ["inCombat",false]) then {
|
||||
player setVariable ["inCombat",true,true];
|
||||
};
|
||||
player setVariable["combattimeout", diag_tickTime + 30, false];
|
||||
|
||||
Reference in New Issue
Block a user