Add buying to and selling from dayz_onBack

Also:
- Fixed typo Z_fill(e)TradeTitle
- Fixed "not enough slots to accept change" message shows when "not
enough money" should show instead
This commit is contained in:
ebaydayz
2016-08-02 14:19:59 -04:00
parent a95925aac5
commit 382f3bc451
9 changed files with 33 additions and 19 deletions

View File

@@ -0,0 +1,12 @@
/**
* [_text] call Z_fillTradeTitle
*
* @param String _this select 0 (_text) -> The text you want in the label.
*
* Changes the indication of where you are selling/buying from in the trade window.
**/
private "_text";
#include "defines.hpp"
_text = _this select 0;
ctrlSetText [Z_AT_CONTAINERINDICATOR, _text];