SHOW:
|
|
- or go back to the newest paste.
| 1 | - | #include <macro.h> |
| 1 | + | case "cop_airhq": |
| 2 | - | /* |
| 2 | + | |
| 3 | - | File: |
| 3 | + | |
| 4 | - | Author: Bryan "Tonic" Boardwine |
| 4 | + | |
| 5 | - | |
| 5 | + | |
| 6 | - | Description: |
| 6 | + | |
| 7 | - | Master configuration list / array for buyable vehicles & prices and their shop. |
| 7 | + | |
| 8 | - | */ |
| 8 | + | |
| 9 | - | private["_shop","_return"]; |
| 9 | + | |
| 10 | - | _shop = [_this,0,"",[""]] call BIS_fnc_param; |
| 10 | + | |
| 11 | - | if(_shop == "") exitWith {[]};
|
| 11 | + | |
| 12 | - | _return = []; |
| 12 | + | |
| 13 | - | switch (_shop) do |
| 13 | + | |
| 14 | - | {
|
| 14 | + | |
| 15 | - | case "kart_shop": |
| 15 | + | |
| 16 | ["B_Heli_Light_01_F",75000]]; | |
| 17 | - | _return = [ |
| 17 | + | |
| 18 | - | ["C_Kart_01_Blu_F",15000], |
| 18 | + | |
| 19 | - | ["C_Kart_01_Fuel_F",15000], |
| 19 | + | |
| 20 | - | ["C_Kart_01_Red_F",15000], |
| 20 | + | |
| 21 | - | ["C_Kart_01_Vrana_F",15000] |
| 21 | + | |
| 22 | - | ]; |
| 22 | + | |
| 23 | - | }; |
| 23 | + | |
| 24 | - | case "med_shop": |
| 24 | + | }; |