1.0.2.37 DEV

This commit is contained in:
[VB]AWOL
2013-09-28 21:46:51 -05:00
parent 2d65f9e950
commit ff256dd234
19 changed files with 214 additions and 86 deletions

View File

@@ -79,8 +79,7 @@ _key call server_hiveWrite;
clearWeaponCargoGlobal _object;
clearMagazineCargoGlobal _object;
_object allowDamage false;
_object setVehicleAmmo DZE_vehicleAmmo;
_object setVariable ["ObjectID", _oid, true];
@@ -105,8 +104,4 @@ _key call server_hiveWrite;
publicVariable "dayzVehicleInit";
diag_log ("PUBLISH: Created " + (_class) + " with ID " + str(_uid));
sleep 1.0;
_object allowDamage true;
};

View File

@@ -279,6 +279,7 @@ spawn_vehicles = {
clearWeaponCargoGlobal _veh;
clearMagazineCargoGlobal _veh;
_veh setVehicleAmmo DZE_vehicleAmmo;
// Add 0-3 loots to vehicle using random cfgloots
_num = floor(random 4);

View File

@@ -164,6 +164,7 @@ if (isServer and isNil "sm_done") then {
clearWeaponCargoGlobal _object;
clearMagazineCargoGlobal _object;
_object setVehicleAmmo DZE_vehicleAmmo;
if ((typeOf _object) in dayz_allowedObjects) then {
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];