mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
The protective box is not needed on Chernarus. If other maps need it we are better off spawning a permanent box around the debug area once, instead of constantly creating new boxes every time a player logs in.
13 lines
364 B
Plaintext
13 lines
364 B
Plaintext
|
|
sched_safetyVehicle = {
|
|
{
|
|
if (vehicle _x != _x && !(vehicle _x in dayz_serverObjectMonitor) && !(vehicle _x in PVDZE_serverObjectMonitor) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {
|
|
diag_log [ __FILE__, "KILLING A HACKER", name _x, " IN ", typeOf vehicle _x ];
|
|
(vehicle _x) setDamage 1;
|
|
_x setDamage 1;
|
|
};
|
|
} forEach allUnits;
|
|
|
|
objNull
|
|
};
|