mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-08 13:42:49 +03:00
Advanced trading rework
We don't need to check for close vehicle anymore now for backpack money since we've made z_vehicle redundant.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
sched_safetyVehicle = {
|
||||
{
|
||||
if (vehicle _x != _x && !(vehicle _x in dayz_serverObjectMonitor) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user