This commit is contained in:
vbawol
2013-05-27 18:36:43 -05:00
parent 42ec759218
commit d3d6397c27
5 changed files with 11 additions and 3 deletions

View File

@@ -149,7 +149,9 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
_isFuel = false;
if (_hasFuelE) then {
_isFuel = (_typeOfCursorTarget in dayz_fuelsources);
{
if(_cursorTarget isKindOf _x) exitWith {_isFuel = true;};
} forEach dayz_fuelsources;
};
// diag_log ("OWNERID = " + _ownerID + " CHARID = " + dayz_characterID + " " + str(_ownerID == dayz_characterID));

View File

@@ -13,10 +13,10 @@ _radius = 200;
_position = getPosATL player;
if (_inVehicle) then {
_maxZombies = _maxZombies / 2;
_maxZombies = dayz_zedSpawnVehCount;
};
if (_isAir) then {
_maxZombies = 5
_maxZombies = dayz_spawnAirCount;
};