[CS GO] Bombsite Restrict - Requested by: TrS
Description
This plugin restricts the bombsite of each round if there are less than X players in the Counter Terrorists team.
ConVars
• sm_bombsite_restrict_chat_prefix - Chat Prefix
• sm_bombsite_restrict_announcer - Bombsite Announcement ( 0 - Disable | 1 - Chat | 2 - Hud | 3 - Center | 4 - Hint )
• sm_bombsite_restrict_cts - How many CTs does it have to be on the Server to Unlock Bombsites? ( Default = 4 )
• sm_bombsite_restrict_bombsite - Block which bombsite? ( 0 - Random Bombsite | 1 - Block Bombsite A | 2 - Block Bombsite B )
• sm_bombsite_restrict_messages - Enable/Disable the Messages when Player try to Plant the Bomb on the Wrong Bombsite (1 - Enable | 0 - Disable)
• sm_bombsite_restrict_countbots - Enable/Disable the Count Bots on CT Team (1 - Enable | 0 - Disable)
Changelog
11-01-2021 (v1.1) - Requested here by PStar
• NEW ConVar sm_bombsite_restrict_countbots
• Now its possible to enable or disable count bots on CT Team
03-01-2021 (v1.1) - Requested by Ciberman
• Change ConVar sm_bombsite_restrict_block for sm_bombsite_restrict_bombsite
• FIX ERROR: The minimum of the ConVar was not 0
19-12-2021 (v1.0)
• Initial release.
Plugin tested in CSGO with:
• Sourcemod 1.10
• Metamod:Source 1.11
Credits
Thanks to the Owners of these Plugins - I used parts of scripting in my Plugin
•
Block bomb plant event - By
Ilusion9
Instalation
• Upload the files (.smx for plugins folders and .txt for translations folder)
• Restart your Server or Change the Map
• [Optional] Configure the file cfg
(csgo/cfg/sourcemod/.cfg)
⠀
⠀