Update server_functions

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.
This commit is contained in:
ebaydayz
2016-03-25 21:24:43 -04:00
parent 145fbf093f
commit e435d41f6c
28 changed files with 384 additions and 1013 deletions

View File

@@ -120,7 +120,7 @@ if(isServer)then{
_delQtyLights = 0;
{
if (local _x) then {
_x call dayz_perform_purge;
deleteVehicle _x; //should use sched_co_deleteVehicle instead
uiSleep 0.025;
_delQtyLights = _delQtyLights + 1;
} else {
@@ -129,7 +129,7 @@ if(isServer)then{
if (count _pos > 0) then {
_nearby = {(isPlayer _x) && (alive _x)} count (_pos nearEntities [["CAManBase","AllVehicles"], 420]);//Use calculated range here.
if (_nearby==0) then {
_x call dayz_perform_purge;
deleteVehicle _x; //should use sched_co_deleteVehicle instead
uiSleep 0.025;
_delQtyLights = _delQtyLights + 1;
};