1.0.1.7 DEV TEST fixes

Fixes to towing, player login, and vehicle EH
This commit is contained in:
[VB]AWOL
2013-08-06 11:31:48 -05:00
parent 9e5957b89d
commit aab6919622
12 changed files with 556 additions and 458 deletions

View File

@@ -231,7 +231,7 @@ if (isServer and isNil "sm_done") then {
if (!((typeOf _object) in dayz_allowedObjects)) then {
_object setvelocity [0,0,1];
_object call fnc_vehicleEventHandler;
_object call fnc_veh_ResetEH;
if(_ownerID != "0") then {
_object setvehiclelock "locked";
@@ -274,6 +274,8 @@ if (isServer and isNil "sm_done") then {
OldHeliCrash = false;
};
allowConnection = true;
// [_guaranteedLoot, _randomizedLoot, _frequency, _variance, _spawnChance, _spawnMarker, _spawnRadius, _spawnFire, _fadeFire]
if(OldHeliCrash) then {
nul = [3, 4, (50 * 60), (15 * 60), 0.75, 'center', HeliCrashArea, true, false] spawn server_spawnCrashSite;
@@ -286,6 +288,7 @@ if (isServer and isNil "sm_done") then {
_id = [] execFSM "\z\addons\dayz_server\system\server_cleanup.fsm";
};
allowConnection = true;
sm_done = true;
publicVariable "sm_done";
};