DESCRIPTION:Give players the ability to hold more than 3 nades. By default,
CS:GO limits players to 1 of each type, with a max 3 total nades. This plugin allows you to define how many of each type you want players to be able to carry.
This plugin is VIP equipped:VIP players can hold more of each type of nade than regular players can, if you set it up that way in the config file. If a player has the admin flag RESERVATION "a" they will be marked as
VIP for this plugin. *** You can override the flag needed for
VIP by utilizing
admin_overrides.cfg and assigning whatever flag you want to "
gp2_csgo_vip"
CVars Code: "
sm_gp2_csgo_announce" = "5" min. 0.000000 max. 30.000000 - Every X rounds the player is reminded of the plugin ['0' = Disable]"
sm_gp2_csgo_decoy" = "1" min. 0.000000 max. 100.000000 - Maximum number of Decoy Grenades regular players are allowed to carry."
sm_gp2_csgo_decoy_vip" = "2" min. 0.000000 max. 100.000000 - Maximum number of Decoy Grenades
VIP players are allowed to carry."
sm_gp2_csgo_enabled" = "1" min. 0.000000 max. 1.000000 - Enable or disable the plugin ['0' = Disable]"
sm_gp2_csgo_enforce" = "0" min. 0.000000 max. 1.000000 - Enforce the limit so that players can't buy their max, use some, then buy more (they can still pick up more if they aren't carrying their max)."
sm_gp2_csgo_flashbang" = "2" min. 0.000000 max. 100.000000 - Maximum number of Flashbang's regular players are allowed to carry."
sm_gp2_csgo_flashbang_vip" = "4" min. 0.000000 max. 100.000000 - Maximum number of Flashbang's
VIP players are allowed to carry."
sm_gp2_csgo_hegrenade" = "1" min. 0.000000 max. 100.000000 - Maximum number of HE Grenades regular players are allowed to carry."
sm_gp2_csgo_hegrenade_vip" = "3" min. 0.000000 max. 100.000000 - Maximum number of HE Grenades
VIP players are allowed to carry."
sm_gp2_csgo_incgrenade" = "1" min. 0.000000 max. 100.000000 - Maximum number of Incendery/Molotov regular players are allowed to carry."
sm_gp2_csgo_incgrenade_vip" = "2" min. 0.000000 max. 100.000000 - Maximum number of Incendery/Molotov
VIP players are allowed to carry."
sm_gp2_csgo_smokegrenade" = "1" min. 0.000000 max. 100.000000 - Maximum number of Smoke Grenades regular players are allowed to carry."
sm_gp2_csgo_smokegrenade_vip" = "2" min. 0.000000 max. 100.000000 - Maximum number of Smoke Grenades
VIP players are allowed to carry."
sm_gp2_csgo_update" = "0" min. 0.000000 max. 1.000000 - Use Updater plugin to auto-update GrenadePack2 when updates are available?"
sm_gp2_csgo_version" = "0.0.1.0" notify singleplayer replicated ss_added - The version of 'Grenade Pack 2 for
CS:GO'"
sm_gp2_csgo_version_build" = "1.5.0-dev" ss_added - The version of SourceMod that 'Grenade Pack 2 for
CS:GO' was compiled with.
REQUIREMENTS:SDKHooks -
Version 2.2 (or better) for CS:GOOptional:Updater (if you want automatic updates)
Credits:SourceMod TeamGreyscale - for original
Grenade Pack idea for
CS:S
KNOWN ISSUES:None that I found, report them as you see them.
To Do List:+ Add option where you can define a hard set limit of nades, like 4 - players (or ViPs) can have any combination of nades, limit 4 to carry. Two CVars for this, one for regulars and another for ViPs.
INSTALLATION:Copy the .smx to your sourcemod/plugins folder and the phrases.txt to your sourcemod/translation folder. When you run the plugin for the first time, it will auto generate a configuration file in your cfg/sourcemod folder named "plugin.GrenadePack2_csgo.cfg" - edit that to your liking then reload the plugin (or better, change the map).The online compiler won't work, you have to download the .SMX file. This is due to custom include files (see .sp for what those are). Attached Files
GrenadePack2_csgo.smx (11.9 KB)
grenadepack2_csgo.phrases.txt (3.3 KB)
Get Plugin or
Get Source (GrenadePack2_csgo.sp - 22.8 KB)
Wyświetl pełny artykuł