Raised This Month: $32 Target: $400
 8% 

[CSGO] Gun Menu 1.2 [2016/03/06]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
4540
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides a menu to choose weapons which are automatically given at respawn, automatically gives nades, armor, etc.
    Old 03-05-2015 , 17:20   [CSGO] Gun Menu 1.2 [2016/03/06]
    Reply With Quote #1

    Name: Gun Menu

    Description: This plugin is a modification of the plugin [CSS] Gun Menu by LumiStance. Has been fixed part of the code to be compatible with CS:GO.
    When you seize control of a bot, then you have the weapon that you were chosen from the menu, and not something that bot was equipped.

    Installation: Place compiled plugin (sm_gunmenu.smx) into the plugins folder (../addons/sourcemod/plugins/). Place the configuration file (gunmenu.ini) into the config folder (../addons/sourcemod/configs/).
    Changes to gunmenu.ini are read at map/plugin load time.

    Commands: sm_guns and sm_gunmenu - When enabled, presents player with menus to choose primary and secondary weapons

    Hints: It can be used for game modes other than Deathmatch. On this case, I advise you to set the following parameters in the used file gamemode_*.cfg:
    • cash_player_*, cash_team_*, mp_death_drop_defuser, mp_freezetime, mp_maxmoney to «0» (if you disable the buy zones on map)
    • ammo_grenade_limit_total to ≥ «4» (depending on the number of grenades, registered in the configuration file)

    Unlike the original plugin: Were removed from the plugin and config parameters responsible for the health and nightvision, added weapons from CS:GO.

    Changes in 1.2 [2016/03/06]:
    • Added team and bot restrictions (admins always have access to the menu)
    • Added an option for on/off show menu on spawn
    Changes in 1.1 [2016/03/05]:
    • Added new items: TA granade, Health Shots & R8 Revolver
    • Added parameter responsible for the number of flashbangs and health shots after respawn will get player
    • Added an option for control player's access to the menu (if "for_all" = "no", then only admins will be able to open the menu)

    ToDo:
    • Add parameter responsible for the number of flashbangs after respawn will get player
    • Add a menu where the player can choose what grenades (and taser) it will get after respawn
    Attached Files
    File Type: sp Get Plugin or Get Source (csgo_gunmenu.sp - 11230 views - 15.9 KB)
    File Type: ini gunmenu.ini (2.1 KB, 7653 views)
    File Type: sp Get Plugin or Get Source (csgo_gunmenu 1.1.sp - 2362 views - 17.0 KB)
    File Type: sp Get Plugin or Get Source (csgo_gunmenu 1.2.sp - 8750 views - 17.7 KB)
    __________________

    Last edited by Grey83; 03-06-2016 at 06:30. Reason: Updated plugin.
    Grey83 is offline
    natrios
    Senior Member
    Join Date: Feb 2014
    Old 03-06-2015 , 06:23   Re: [CSGO] Gun Menu
    Reply With Quote #2

    Can be set to be at the beginning of 2 grenades smoke?
    __________________

    natrios is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 03-06-2015 , 09:42   Re: [CSGO] Gun Menu
    Reply With Quote #3

    natrios, no.
    Only one smoke granade: first you need to within the game allow the ability to carry more than 1 smoke grenades at the same time, but the game has an option only for flash bangs, as far as I know.
    Grey83 is offline
    natrios
    Senior Member
    Join Date: Feb 2014
    Old 03-07-2015 , 08:51   Re: [CSGO] Gun Menu
    Reply With Quote #4

    thanks for the reply

    you can add a command to the time limit their ability to buy weapons? f.e. to 30sec.?
    Badly in need of this plugin ;(

    //later

    You can add command?
    Quote:
    !smoke - buy smoke
    !he -buy he
    !molotov - buy molotov
    !flash - buy flashbang
    And to add a limit on grenades?
    example:
    Quote:
    hegrenade_max "3"
    smokegrenade_max "2"
    It would then great!
    __________________


    Last edited by natrios; 03-07-2015 at 09:09.
    natrios is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 03-07-2015 , 16:18   Re: [CSGO] Gun Menu
    Reply With Quote #5

    natrios, do you offer something like this plugin, but with access for all, and to receive only grenades?

    If you do not disable the buy zones, then the player can always buy weapons in a standard buy menu . And the time to buy is configured in the server settings.
    Or did you mean something else?

    About restrictions for grenades: I have no idea how to implement it.
    I might think about it.

    Last edited by Grey83; 03-07-2015 at 16:25.
    Grey83 is offline
    natrios
    Senior Member
    Join Date: Feb 2014
    Old 03-07-2015 , 16:46   Re: [CSGO] Gun Menu
    Reply With Quote #6

    I turned off the server buyzone:
    Quote:
    "buy_zones" "no"
    Wants to be able to do so only at the beginning (30 seconds). Or give a command input limit -x1 on respawn.


    It would be best to remove the commands and usutawić to the menu shown a weapon at the beginning of every round of.
    Can you do that for me?
    __________________

    natrios is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 03-07-2015 , 18:33   Re: [CSGO] Gun Menu
    Reply With Quote #7

    Quote:
    Originally Posted by natrios View Post
    Wants to be able to do so only at the beginning (30 seconds).
    Disable buy zones only within the first 30 seconds of the round?
    Quote:
    Originally Posted by natrios View Post
    Or give a command input limit -x1 on respawn.
    Allow the player to call the menu only once after each of its spawn?
    Quote:
    Originally Posted by natrios View Post
    It would be best to remove the commands and usutawić to the menu shown a weapon at the beginning of every round of.
    Ban call the menu with the command, but make that menu appear at the beginning of each round?
    I can do this. As soon as things settle down in the code of the plugin
    Grey83 is offline
    Chesterfield
    Senior Member
    Join Date: Apr 2013
    Old 03-07-2015 , 20:02   Re: [CSGO] Gun Menu
    Reply With Quote #8

    Perfect plugin for my Zombie mod server, thanks !
    Chesterfield is offline
    natrios
    Senior Member
    Join Date: Feb 2014
    Old 03-08-2015 , 05:52   Re: [CSGO] Gun Menu
    Reply With Quote #9

    /edit

    fix
    __________________


    Last edited by natrios; 03-08-2015 at 11:04.
    natrios is offline
    Chesterfield
    Senior Member
    Join Date: Apr 2013
    Old 03-11-2015 , 14:01   Re: [CSGO] Gun Menu
    Reply With Quote #10

    Hello, such a great plugin, could you please add a time that will block the guns menu after 1 min that the round started? because, (i'm using it in my zm server btw) people can simply spam !guns and get any gun they want any time.

    So what i'm asking is if you can add a cvar that blocks the menu after some time, thanks in advanced and great plugin!
    Chesterfield is offline
    Reply


    Thread Tools
    Display Modes

    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 02:04.


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