mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Use GetOut
Doesn't create a parachute with air vehicles
This commit is contained in:
@@ -8,7 +8,7 @@ _KillEject = { //leave as local compile for a tiny bit more security
|
|||||||
_radius = _x select 1;
|
_radius = _x select 1;
|
||||||
if ((isInTraderCity || !canbuild) && {(player distance _SZPos) < _radius}) then {_cancel = true;};
|
if ((isInTraderCity || !canbuild) && {(player distance _SZPos) < _radius}) then {_cancel = true;};
|
||||||
} count DZE_SafeZonePosArray;
|
} count DZE_SafeZonePosArray;
|
||||||
player action ["Eject",vehicle player]; //eject player so their gear is accessible if dead and they aren't stuck in wreck if alive
|
player action ["getOut",vehicle player]; //eject player so their gear is accessible if dead and they aren't stuck in wreck if alive
|
||||||
if (!_cancel) then {
|
if (!_cancel) then {
|
||||||
sleep 0.01; //don't use uisleep here
|
sleep 0.01; //don't use uisleep here
|
||||||
[player, "explosion"] spawn player_death;
|
[player, "explosion"] spawn player_death;
|
||||||
|
|||||||
Reference in New Issue
Block a user