mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 17:39:18 +03:00
Add option to clear the ammo of all static guns, compile vehicle functions for server and client
This commit is contained in:
@@ -1578,6 +1578,10 @@ if (_canBuild) then {
|
||||
};
|
||||
publicVariableServer "PVDZ_obj_Publish";
|
||||
};
|
||||
|
||||
if (_builtObject isKindOf "StaticWeapon" || {_classname in DZE_StaticWeapons}) then {
|
||||
[_builtObject,DZE_clearStaticAmmo,false] call fn_vehicleAddons;
|
||||
};
|
||||
};
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
_builtObject addEventHandler ["HandleDamage", {0}];
|
||||
|
||||
Reference in New Issue
Block a user