mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 13:21:57 +03:00
Fix live animals being deleted in front of players
Vanilla commits: https://github.com/DayZMod/DayZ/commit/e14d45a55bb46efe9d040866dd13d6f15f4797df https://github.com/DayZMod/DayZ/commit/9d6be1731eca33172c340bc584771032ede92a69
This commit is contained in:
@@ -3,8 +3,7 @@ class CAAnimalBase: Animal
|
||||
{
|
||||
class Eventhandlers
|
||||
{
|
||||
//local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; }; if ((_this select 1) and isServer) exitWith { _z call sched_co_deleteVehicle; };";
|
||||
local = "_z = _this select 0; if ((_this select 1) and isServer) exitWith { _z call sched_co_deleteVehicle; };";
|
||||
//local = "_z = _this select 0; if ((!isServer and !isNull _z) and {(side _z != civilian)}) exitWith { PVDZ_sec_atp = [ 'wrong side', player ]; publicVariableServer 'PVDZ_sec_atp'; deleteVehicle _z; };";
|
||||
};
|
||||
class UserActions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user