View Single Post
Author Message
Lantejoula
Senior Member
Join Date: Mar 2021
Location: Portugal
Old 08-24-2021 , 14:12   [CSGO] Grenades Rounds
Reply With Quote #1

[CSGO] Grenades Rounds

Description

This plugin creates a menu for admins to start a grenade round. When the staff chooses one of the grenade rounds, the plugin creates an automatic vote and if accepted the round starts in the next round.

This Plugin have 5 Grenades Rounds:

- Molotov
- HE
- Smoke
- Flash
- Decoy

This plugin can be used on fun servers. Example: AWP

Commands

• !gr !grenadesrounds - Open Grenades Rounds Vote Menu
• !staff - Admins can Open Menu with !staff

ConVars

• sm_grenadesrounds_chat_prefix - Chat Prefix)

• sm_grenadesrounds_round_end_message - Enable/Disable Message when Rounds End (1 - Enable | 0 - Disable)
• sm_grenadesrounds_round_start_message - Enable/Disable Message when Rounds Start (1 - Enable | 0 - Disable)
• sm_grenadesrounds_forcestop_round_message - Enable/Disable Message when Staff Force Stop Rounds (1 - Enable | 0 - Disable)

• sm_grenadesrounds_molotov_round - Enable/Disable Molotov Round (1 - Enable | 0 - Disable)
• sm_grenadesrounds_he_round - Enable/Disable HE Round (1 - Enable | 0 - Disable)
• sm_grenadesrounds_smoke_round - Enable/Disable Smoke Round (1 - Enable | 0 - Disable)
• sm_grenadesrounds_flash_round - Enable/Disable Flash Round (1 - Enable | 0 - Disable)
• sm_grenadesrounds_decoy_round - Enable/Disable Decoy Round (1 - Enable | 0 - Disable)

• sm_grenadesrounds_molotov_round_health - Enable/Disable Amount of Health when Start Molotov Round (Default = 150)
• sm_grenadesrounds_he_round_health - Enable/Disable Amount of Health when Start HE Round (Default = 200)
• sm_grenadesrounds_smoke_round_health - Enable/Disable Amount of Health when Start Smoke Round (Default = 1)
• sm_grenadesrounds_flash_round_health - Enable/Disable Amount of Health when Start Flash Round (Default = 1)
• sm_grenadesrounds_decoy_round_health - Enable/Disable Amount of Health when Start Decoy Round (Default = 1)

• sm_grenadesrounds_start_vote_message - Enable/Disable the Message on Chat when Staff Start Vote (1 - Enable | 0 - Disable)
• sm_grenadesrounds_votes_results_message - Enable/Disable the Message on Chat with Votes Resultes (1 - Enable | 0 - Disable)

Changelog

13-09-2021 (v1.3)

• Remake Plugin
• NEW: Vote System Automatic
• Old versions are bad, so I removed them to not download

05-07-2021 (v1.2)

• BUG: Admin Menu - Compatibility with other my plugins
• Remove commands - !grenadesround !agrenadesround
• Change Default ConVars Values
• Change ConVars

24-08-2021 (v1.1)

• New ConVar - sm_forcestopround_resetcooldown
• Now When Staff Force Stop Round Cooldown was Reset (Can Disable this on .cfg)

24-08-2021 (v1.0)

• Initial release.

Plugin tested in CSGO with:

Sourcemod 1.10
Metamod:Source 1.11


Credits

No Knife Damage | Command & Forever - Lantejoula

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)
• [Optional] Change Translations the file .txt (csgo/addons/sourcemod/translations/.txt)

Attached Files
File Type: zip Grenades Rounds 1.3.zip (84.2 KB, 162 views)
__________________
Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!

Last edited by Lantejoula; 09-13-2021 at 16:56.
Lantejoula is offline