mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Just Empty Spacer
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
private ["_nearNets","_nearNet"];
|
private ["_nearNets","_nearNet"];
|
||||||
|
|
||||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||||
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
|
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
|
||||||
|
|
||||||
_nearNets = nearestObjects [player, ["DesertLargeCamoNet", "ForestCamoNet_DZ","DesertLargeCamoNet_DZ", "ForestLargeCamoNet_DZ"], 10];
|
_nearNets = nearestObjects [player, ["DesertLargeCamoNet","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ"], 10];
|
||||||
_nearNet = _nearNets select 0;
|
_nearNet = _nearNets select 0;
|
||||||
|
|
||||||
if (!isNull _nearNet and _canDo) then {
|
if (!isNull _nearNet and _canDo) then {
|
||||||
[0,1,2,_nearNet] spawn player_removeObject;
|
[0,1,2,_nearNet] spawn player_removeObject;
|
||||||
} else {
|
} else {
|
||||||
cutText [(localize "str_epoch_player_8"), "PLAIN DOWN"];
|
cutText [(localize "str_epoch_player_8"), "PLAIN DOWN"];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user