mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Merge pull request #1444 from Markokil321/patch-4
Update trade_weapons.sqf
This commit is contained in:
@@ -40,7 +40,7 @@ if(_buy_o_sell == "sell") then {
|
||||
} else {
|
||||
|
||||
// buying item type must NOT exist if rifle || pistol
|
||||
_msg = "Drop || sell your current weapon before you can buy a new one.";
|
||||
_msg = "Drop or sell your current weapon before you can buy a new one.";
|
||||
_config = (configFile >> "CfgWeapons" >> _part_out);
|
||||
_configName = configName(_config);
|
||||
_wepType = getNumber(_config >> "Type");
|
||||
@@ -64,7 +64,7 @@ if(_buy_o_sell == "sell") then {
|
||||
};
|
||||
if(_isToolBelt || _isBinocs) then {
|
||||
_abort = (_configName in (weapons player));
|
||||
_msg = "Drop || sell your current toolbelt item before you can buy a new one.";
|
||||
_msg = "Drop or sell your current toolbelt item before you can buy a new one.";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user