mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Update all cutText to dayz_rollingMessages
This commit is contained in:
@@ -3,10 +3,10 @@ private ["_item","_config","_onLadder","_classname","_text","_consume","_hastrap
|
||||
_item = _this;
|
||||
_config = configFile >> "CfgWeapons" >> _item;
|
||||
|
||||
if (r_action_count != 1) exitWith { cutText [localize "str_player_actionslimit", "PLAIN DOWN"]; };
|
||||
if (r_action_count != 1) exitWith { localize "str_player_actionslimit" call dayz_rollingMessages; };
|
||||
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
if (_onLadder) exitWith { r_action_count = 0; cutText [localize "str_player_21", "PLAIN DOWN"]};
|
||||
if (_onLadder) exitWith { r_action_count = 0; localize "str_player_21" call dayz_rollingMessages;};
|
||||
|
||||
call gear_ui_init;
|
||||
|
||||
@@ -16,7 +16,7 @@ _consume = ([] + getArray (_config >> "magazines")) select 0;
|
||||
|
||||
_hastrapitem = _item in magazines player;
|
||||
|
||||
if (!_hastrapitem) exitWith { r_action_count = 0; cutText [format [localize "str_player_31",_text,localize "str_player_31_place"] , "PLAIN DOWN"]};
|
||||
if (!_hastrapitem) exitWith { r_action_count = 0; format[localize "str_player_31",_text,localize "str_player_31_place"] call dayz_rollingMessages;};
|
||||
|
||||
player removeMagazine _item;
|
||||
_location = getPosATL player;
|
||||
@@ -36,4 +36,4 @@ diag_log [diag_ticktime, __FILE__, "New Networked object, request to save to hiv
|
||||
player reveal _object;
|
||||
|
||||
r_action_count = 0;
|
||||
cutText [format [localize "str_build_01",_text], "PLAIN DOWN"];
|
||||
format[localize "str_build_01",_text] call dayz_rollingMessages;
|
||||
Reference in New Issue
Block a user