mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Limit to crew
This commit is contained in:
@@ -2,5 +2,7 @@ private ["_amm"];
|
|||||||
_amm=_this select 4;
|
_amm=_this select 4;
|
||||||
_this call (call compile GetText (configFile >> "CfgAmmo" >> _amm >> "muzzleEffect"));
|
_this call (call compile GetText (configFile >> "CfgAmmo" >> _amm >> "muzzleEffect"));
|
||||||
//Handle combat in vehicle
|
//Handle combat in vehicle
|
||||||
player setVariable ["inCombat", 1, true];
|
if (player in (crew (_this select 0))) then {
|
||||||
player setVariable["combattimeout", diag_tickTime + 30, false];
|
player setVariable ["inCombat", 1, true];
|
||||||
|
player setVariable["combattimeout", diag_tickTime + 30, false];
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user