Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ["Money", "Edit Cash",
- {
- _dialog_result = ["Money Menu",
- [
- ["Combo Box Control", ["0","1","2"], 0],
- ["Text Control", "", "0"]
- ]] call Ares_fnc_showChooseDialog;
- if (count _dialog_result == 0) exitWith {};
- null = [(_dialog_result select 0),(_dialog_result select 1)] spawn {
- _Cash = _this select 1;
- switch (_this select 0) do {
- case "0": { MoneyAsset = (MoneyAsset + _Cash); systemChat format["%1",MoneyAsset];};
- case "1": { MoneyAsset = (MoneyAsset - _Cash); systemChat format["%1",MoneyAsset];};
- case "2": { systemChat format["%1",MoneyAsset];};
- };
- };
- }] call Ares_fnc_RegisterCustomModule;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement