Update all cutText to dayz_rollingMessages

This commit is contained in:
ebaydayz
2016-04-16 15:47:49 -04:00
parent 993ce14da6
commit 5157228e67
137 changed files with 604 additions and 621 deletions

View File

@@ -39,31 +39,31 @@ if(_activated) then {
// this method is said to be faster than switch, lets try it.
call {
if (DZE_AntiWallCounter == DZE_AntiWallLimit) exitWith {
cutText [localize "str_epoch_player_9","PLAIN DOWN"];
localize "str_epoch_player_9" call dayz_rollingMessages;
_id = [player,"crushed"] spawn player_death;
};
if ((_vehicle emptyPositions "driver") > 0) exitWith {
cutText [localize "STR_EPOCH_ACTIONS_15","PLAIN DOWN"];
localize "STR_EPOCH_ACTIONS_15" call dayz_rollingMessages;
player moveInDriver _vehicle;
DZE_AntiWallCounter = DZE_AntiWallCounter + 1;
};
if ((_vehicle emptyPositions "gunner") > 0) exitWith {
cutText [localize "STR_EPOCH_ACTIONS_15","PLAIN DOWN"];
localize "STR_EPOCH_ACTIONS_15" call dayz_rollingMessages;
player moveInGunner _vehicle;
DZE_AntiWallCounter = DZE_AntiWallCounter + 1;
};
if ((_vehicle emptyPositions "commander") > 0) exitWith {
cutText [localize "STR_EPOCH_ACTIONS_15","PLAIN DOWN"];
localize "STR_EPOCH_ACTIONS_15" call dayz_rollingMessages;
player moveInCommander _vehicle;
DZE_AntiWallCounter = DZE_AntiWallCounter + 1;
};
if ((_vehicle emptyPositions "cargo") > 0) exitWith {
cutText [localize "STR_EPOCH_ACTIONS_15","PLAIN DOWN"];
localize "STR_EPOCH_ACTIONS_15" call dayz_rollingMessages;
player moveInCargo _vehicle;
DZE_AntiWallCounter = DZE_AntiWallCounter + 1;
};
// kill player if none of the above are matched
cutText [localize "str_epoch_player_9","PLAIN DOWN"];
localize "str_epoch_player_9" call dayz_rollingMessages;
_id = [player,"crushed"] spawn player_death;
};