mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
We don't need to check for close vehicle anymore now for backpack money since we've made z_vehicle redundant.
13 lines
400 B
Plaintext
13 lines
400 B
Plaintext
|
|
sched_safetyVehicle = {
|
|
{
|
|
if (vehicle _x != _x && !(vehicle _x in dayz_serverObjectMonitor) && !((typeOf vehicle _x) in DZE_safeVehicle) && (isNil {_x getVariable "DZMSAI"}) && (isNil {_x getVariable "DZMSHOTSPOTSAI"})) then {
|
|
diag_log [ __FILE__, "KILLING A HACKER", name _x, " IN ", typeOf vehicle _x ];
|
|
(vehicle _x) setDamage 1;
|
|
_x setDamage 1;
|
|
};
|
|
} forEach allUnits;
|
|
|
|
objNull
|
|
};
|