Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tpw_furniture_houses = [];
- ["Buildings", "Furnish",
- {
- _dialog_result = ["Test Dialog",
- [
- ["Range [m]", "", "0"],
- ["Spawn", ["Spawn","Delete"], 1]
- ]] call Ares_fnc_showChooseDialog;
- if (count _dialog_result == 0) exitWith {};
- systemChat format ["Range: %1", _dialog_result select 0];
- systemChat format ["Spawn: %1", _dialog_result select 1];
- If ((_dialog_result select 1) == 0) then {
- _blds = (_this select 0) nearObjects ["House",(parseNumber (_dialog_result select 0))];
- {
- 0 = [_x] execVM "tpw_furniture_fnc_populate.sqf";
- } count _blds;
- }
- else
- {
- 0 = [(_this select 0),(parseNumber (_dialog_result select 0))] execVM "tpw_furniture_fnc_delete.sqf";
- };
- }] call Ares_fnc_RegisterCustomModule;
Add Comment
Please, Sign In to add comment