mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Update all cutText to dayz_rollingMessages
This commit is contained in:
@@ -10,12 +10,12 @@ _canDo = (!r_drag_sqf && !r_player_unconscious && !_onLadder);
|
||||
_nearByObjects = nearestObjects [player,_objects,_range];
|
||||
|
||||
if (count _nearByObjects == 0) exitWith {
|
||||
cutText [localize _error,"PLAIN DOWN"];
|
||||
localize _error call dayz_rollingMessages;
|
||||
};
|
||||
|
||||
_targetObject = _nearByObjects select 0;
|
||||
if (!isNull _targetObject && _canDo) then {
|
||||
[0,1,2,_targetObject] spawn player_removeObject;
|
||||
} else {
|
||||
cutText [localize _error,"PLAIN DOWN"];
|
||||
localize _error call dayz_rollingMessages;
|
||||
};
|
||||
Reference in New Issue
Block a user