mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
1.0.1.7 DEV TEST fixes
Fixes to towing, player login, and vehicle EH
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user