|
@@ -1,4 +1,7 @@
|
|
params["_ammo", "_vehicle"];
|
|
params["_ammo", "_vehicle"];
|
|
|
|
+if!(local _vehicle) exitWith {
|
|
|
|
+ diag_log format["[RD501][Vehicle EMP] '%1' is REMOTE", _vehicle];
|
|
|
|
+};
|
|
|
|
|
|
private _config = configFile >> "CfgAmmo" >> _ammo;
|
|
private _config = configFile >> "CfgAmmo" >> _ammo;
|
|
|
|
|
|
@@ -37,4 +40,4 @@ diag_log format["[RD501][Vehicle EMP] Enabling %1", _vehicle];
|
|
},
|
|
},
|
|
[_vehicle],
|
|
[_vehicle],
|
|
_effectiveDuration
|
|
_effectiveDuration
|
|
-] call CBA_fnc_waitAndExecute;
|
|
+] call CBA_fnc_waitAndExecute;
|