Here is a simple plugin which lets user to prefer a set of weapons (Primary Weapon +
Secondary Weapon)and buy them anytime. Users can select their own preferred weapons or
let the plugin choose their weapons for them. The preferred weapons are those weapons which
are either chosen by the user in the menu or the weapons carried for maximum time by them.
Users can prefer a set a of weapons and buy them when they are in a buyzone. Keeping the original
sense of the game, this plugin gives users only those weapons which are allowed to the player's
team. For example, a CT player can prefer AK47 but cannot buy it(adjustible from the CVar after
version 1.2). The menu is shown on every spawn which the user can disable.
Client Commands:
Say /pref to open the preference menu
CVars:
weap_pref_allowall : Whether team restriction is disabled on purchase of prefered weapon | Default 0
--------------------------------------------------------------------------------------------
Changelog:
v1.0: Initial Release
-------------------------------------------------------------------------------------------------
v1.1: Minor Fixes.
-------------------------------------------------------------------------------------------------
v1.2: Now no team restriction on weapon purchase (CVar Controlled)
Added Autobuy Prefered Weapon Feature
Improved Messages
-------------------------------------------------------------------------------------------------
v1.3: New Menu
__________________
Last edited by ezio_auditore; 11-11-2014 at 06:36.