mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Fix combat in vehicles
This commit is contained in:
6
SQF/dayz_code/system/BIS_Effects/fired.sqf
Normal file
6
SQF/dayz_code/system/BIS_Effects/fired.sqf
Normal file
@@ -0,0 +1,6 @@
|
||||
private ["_amm"];
|
||||
_amm=_this select 4;
|
||||
_this call (call compile GetText (configFile >> "CfgAmmo" >> _amm >> "muzzleEffect"));
|
||||
//Handle combat in vehicle
|
||||
player setVariable ["inCombat", 1, true];
|
||||
player setVariable["combattimeout", diag_tickTime + 30, false];
|
||||
Reference in New Issue
Block a user