mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 11:26:30 +03:00
@@ -112,7 +112,7 @@ _switchUnit = {
|
||||
_rndx = floor(random 100);
|
||||
_rndy = floor(random 100);
|
||||
_oldUnit setPosATL [(respawn_west_original select 0) + _rndx, (respawn_west_original select 1) + _rndy, 0];
|
||||
_newUnit setPosATL [_position select 0,_position select 1,(_position select 2)+.1]; //Prevents swimming in ground glitch
|
||||
_newUnit setPosATL _position;
|
||||
removeAllWeapons _oldUnit;
|
||||
{_oldUnit removeMagazine _x;} count magazines _oldUnit;
|
||||
if !(isNull _oldUnit) then {deleteVehicle _oldUnit;};
|
||||
|
||||
@@ -994,7 +994,7 @@ class FSM
|
||||
"if (dayz_paraSpawn && freshSpawn == 2) then {" \n
|
||||
" player setPosATL [_setPos select 0,_setPos select 1,DZE_HaloSpawnHeight];" \n
|
||||
"} else {" \n
|
||||
" player setPosATL [_setPos select 0,_setPos select 1,(_setPos select 2)+.1]; //Prevents swimming in ground glitch" \n
|
||||
" player setPosATL _setPos;" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"player setVelocity [0,0,0.5];" \n
|
||||
|
||||
Reference in New Issue
Block a user