Addon Details

Watch - Add Favorite


WeaponTrade ScreenShot

Does this version work for you?
2
w00ts
w00t!2

WeaponTrade - Version 1.0

posted on 2008-03-23 15:38:33
by HKRChief

Requires:


Description

This mod creates a custom buy menu separate from the default Valve buy menu. The menu, brought up by typing @b in chat, allows players the ability to purchase weapons, grenades, grenade packs, health packs, and miscellaneous items through a custom menu. This also gives players the ability to purchase items from anywhere on the map at any time during the round. The menu is disabled for dead players. When purchasing, if the player has a weapon in the slot of the weapon they are buying, the player is given a "cash back" discount on the trade-in of their old weapon. Weapon cost is displayed in the menu and is easily adjusted by administrators through the admin's menu. All items can be restricted from purchase by admins as well. The player's menu will display the cost of the item as well as any additional info (such as for health packs, how much health you get). If the player tries to purchase a restricted item, or doesn't have enough cash, it will let the player know. All values are stored in and retreived from a keygroup file. The administrator's menu (brought up by typing !ab) allows administrors to modify prices, restrictions, trade in values, and various other settings on the fly. All values are displayed dynamically within the menu and update on the fly. Options allow admins to cancel changes or save changes. Some other settings recently added to the menu are Maximum grenades allowed per person, Maximum health allowed per person, and a toggle to enable or disable the default Valve buy zones.

Installation

1. Unzip the file into your server's cstrike directory. 2. Add to your autoexec.cfg: es_load examples/auth/basic_auth es_set BASIC_AUTH_ADMIN_LIST "STEAM_ID_LAN;STEAM_0:0:571273;" (edit the above line with the STEAM IDs of your admins. This gives access to the admin's menu) es_load popup es_load weapontrade 3. Restart server

Version Notes For 1.0

Updated on: 2008-03-23 15:38:33 EST by HKRChief (View Zip Contents)
First version. Took the time to dig in and make the menus easy to use and informative. Haven't found any bugs except for if Valve's buyzone is disabled, the console will get info about players spawning outside buyzones.

( Previous Versions )