Description: An admin menu which gives players weapons by commonly used names, so you do not have to remember the weapon names. Choose the weapon first, then choose the player to receive it. Has a neat and easy to use interface.
Original idea by XaM of EventScripts (
http://addons.eventscripts.com/addons/view/weapongiver)
I ported it to SourceMod since my community's server is having problems with EventScripts lagging the server badly when changing maps / restarting. I added enhanced interfaces and fixed some bugs.
-C4 Bomb giving fixed.
-Now message when giving items shows the admin's name too
-Added Knife to the list
-Improved interface (see Features)
Features:
-Neat and easy to use interface and menu
-Gives weapons with a nice looking message to a selected player
-Gives all kinds of weapons including Knife and Kevlar and Nightvision
-Weapons are named in the menu as commonly used terms
-Separate admin flag from other admin flags, so you can give an admin this access without giving other accesses, or the other way round
-Fun command to give cookies (only displays message, does nothing actually)
How To Use:
Command to open main menu in console: wg
Command to open main menu in chat: !wg
How To Add Admins:
SM WeaponGiver uses the ADMFLAG_CUSTOM1 to identify admins, which is the "o" flag. Simply authorize a user with the "o" flag and he can access the weapon menu. You can edit the sourcecode to change the flag if you wish to (I have included comments next to those flags on how to change them).
Disabling Plugin Messages:
If you would like to disable the messages which show that a player has received a weapon from an admin, edit line 20 of the sourcecode.
Change the value of the variable MessagesEnabled to 0.
Pictures:
Changelog:
v1.00- Initial release
v1.00a- Fixed a bug where some players won't receive weapons.
v1.00b- Fixed a bug when typing in team !wg won't open the menu.
v1.01- Added an easily modifiable variable to disable/enable plugin messages. Also fixed the Glock-giving messages in the Russian translated version.
Translations:
Please post in this thread or send me a Private Message if you would like to help me to translate the plugin. Please be aware that translated versions may not be 100% correctly translated, or have minor bugs. Please contact me if you do find any bugs.
Languages:
Please download the language of the plugin you prefer.
English -> sm_weapongiver_eng_1.01.sp
Simplified Chinese (简体中文) Translated by LightningZLaser -> sm_weapongiver_chin_1.01.sp
Russian (Россию) Translated by Nissan3501 and FaTony -> sm_weapongiver_rus_1.01.sp
Support:
If you would like to support this plugin, you can donate to FireWaLL servers and community at
http://www.firewallcs.net/forums/misc.php?do=donate
Alternatively, you can join our popular CS:S Zombie: Reloaded server at
206.212.243.130:27015 and Deathmatch server at
206.212.243.131:27015
Future Plans:
-Add a variable which is easily editable from the sourcecode to disable messages when receiving weapons.