Raised This Month: $51 Target: $400
 12% 

[CS:S] SM WeaponGiver (v1.01, 24 Dec 2010)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
LightningZLaser
Member
Join Date: Dec 2010
Plugin ID:
2129
Plugin Version:
1.01
Plugin Category:
Admin Commands
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    An admin menu which gives players weapons by commonly used names, with a neat and easy to use interface
    Old 12-17-2010 , 11:14   [CS:S] SM WeaponGiver (v1.01, 24 Dec 2010)
    Reply With Quote #1

    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.
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_weapongiver_eng_1.01.sp - 11591 views - 46.5 KB)
    File Type: sp Get Plugin or Get Source (sm_weapongiver_chin_1.01.sp - 3578 views - 46.7 KB)
    File Type: sp Get Plugin or Get Source (sm_weapongiver_rus_1.01.sp - 4794 views - 46.7 KB)

    Last edited by LightningZLaser; 01-03-2011 at 10:05.
    LightningZLaser is offline
    Nissan3501
    Member
    Join Date: May 2010
    Old 12-18-2010 , 16:42   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #2

    can make this plugin multi-lingual? i'm translate on Russian
    Nissan3501 is offline
    LightningZLaser
    Member
    Join Date: Dec 2010
    Old 12-18-2010 , 23:11   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #3

    Sure, post your translation when you are done
    LightningZLaser is offline
    Nissan3501
    Member
    Join Date: May 2010
    Old 12-19-2010 , 04:45   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #4

    my translate plugin
    Attached Files
    File Type: sp Get Plugin or Get Source (SM_WeaponGiver.sp - 2815 views - 45.0 KB)

    Last edited by Nissan3501; 12-19-2010 at 06:42.
    Nissan3501 is offline
    LightningZLaser
    Member
    Join Date: Dec 2010
    Old 12-19-2010 , 05:29   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #5

    Hey Nissan you seem to have translated some of the words at wrong positions. Could you just post the translations here instead and I translate them myself so it will be neater? And I would prefer a full translation of it, you only translated half of it.

    Post translations for these-
    1.Pistol
    2.Shotgun
    3.Sub-Machinegun
    4.Rifle
    5.Machinegun
    6.Other Items
    7.Knife
    8.Grenade
    9.Flashbang
    10.Smoke Grenade
    11.Kevlar
    12.Kevlar+Helmet
    13.C4 Bomb
    14.Defuse Kit
    15.Nightvision Goggles
    16.Cookie
    17.Admin
    18. Auto-Sniper
    19. Weapon-Giver (try to translate it to a nice sounding russian name)

    Also post how this sentence would look like in Russian so I know how to translate the messages (don't need to translate those in <>):
    "<Admin> gave <Player> a <Item>"

    Thanks.

    Last edited by LightningZLaser; 12-19-2010 at 05:51.
    LightningZLaser is offline
    Nissan3501
    Member
    Join Date: May 2010
    Old 12-19-2010 , 06:18   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #6

    sry )) carelessly translated)

    translations for these-
    1.Пистолет
    2.Дробовик
    3.Пистолет-Пулемёт
    4.Винтовки
    5.Пулемёт
    6.Прочее
    7.Нож
    8.Взрывная граната
    9.Слеповая граната
    10.Дымовая граната
    11.Броня
    12.Броня+Шлем
    13.Бомба
    14.Инструменты для C4
    15.Ночное видение
    16.Печенье
    17.Админ
    18.Снайперские винтовки
    19.Меню оружия



    what it means 16.Cookie

    I will edit as soon see the construction of translation

    Last edited by Nissan3501; 12-19-2010 at 08:40.
    Nissan3501 is offline
    LightningZLaser
    Member
    Join Date: Dec 2010
    Old 12-19-2010 , 07:16   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #7

    cookie = biscuit

    And tell me how do I say this sentence in Russian:
    (dont translate the words in the brackets)
    Quote:
    (Admin) gave (player) a (weapon).
    LightningZLaser is offline
    FaTony
    Veteran Member
    Join Date: Aug 2008
    Old 12-19-2010 , 07:45   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #8

    (Admin) дал (weapon) игроку (player).

    Btw aren't translations supposed to be in a separate txt files?
    __________________
    FaTony is offline
    LightningZLaser
    Member
    Join Date: Dec 2010
    Old 12-19-2010 , 07:54   Re: [CS:S] SM WeaponGiver (v1.00a, 17 Dec 2010)
    Reply With Quote #9

    I dont know how to translate like that so I'm making separate plugins for each language.

    Thx for translating that

    edit: I added a translation of the plugin to Chinese. I will translate it to Russian tomorrow

    Last edited by LightningZLaser; 12-19-2010 at 08:04.
    LightningZLaser is offline
    LightningZLaser
    Member
    Join Date: Dec 2010
    Old 12-20-2010 , 06:20   Re: [CS:S] SM WeaponGiver (v1.00b, 20 Dec 2010)
    Reply With Quote #10

    I updated it to fix an issue that typing in say_team "!wg" wont open the menu.

    Edit: Added the Russian translation.
    Pls tell me if anything is wrongly translated or is not working.

    Last edited by LightningZLaser; 12-20-2010 at 08:28.
    LightningZLaser is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 00:39.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode