mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Merge pull request #798 from dayz10k/master
#796 error in BIS killed more spelling/cap/spacing
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
private ["_v","_int","_t","_b"];
|
||||
|
||||
_v=_this select 0;
|
||||
if(_v iskindof "helicopter"||_v iskindof "plane")then{
|
||||
if (_v isKindOf "Helicopter"||_v isKindOf "Plane") then {
|
||||
["AirDestruction",_v] call BIS_Effects_globalEvent;
|
||||
};
|
||||
if(_v iskindof "tank")then{
|
||||
if (_v isKindOf "Tank") then {
|
||||
_int=(fuel _v)*(2+random 2);
|
||||
_t=time;
|
||||
[_v,_int] spawn BIS_Effects_Secondaries;
|
||||
};
|
||||
if(_v iskindof "car"||_v iskindof "ship")then{
|
||||
if (_v isKindOf "Car"||_v isKindOf "Ship") then {
|
||||
_int=(fuel _v)*(2+random 1);
|
||||
_t=time;
|
||||
[_v,_int] spawn BIS_Effects_Secondaries;
|
||||
|
||||
Reference in New Issue
Block a user