Update animal cleanup on log out

Partial revert of 0483fa6
This commit is contained in:
ebaydayz
2016-11-21 20:54:33 -05:00
parent 43b900835e
commit aea0bb1298

View File

@@ -3,7 +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; };";
local = "_z = _this select 0; if ((_this select 1) && isServer && (({isPlayer _x} count (_z nearEntities ['CAManBase',150])) == 0)) exitWith { _z call sched_co_deleteVehicle; };";
};
class UserActions
{