Page 1 of 1

Rock The Round by Exolent

Posted: Mon Nov 22, 2021 10:08 am
by greenie
Rock The Round
Last Update: March 19, 2012



Description
Have you ever been in the situation where you want the round to end, but there are still minutes left?
This plugin allows you and other people to force the round to end.
After a certain amount of players type "rtr" or "rocktheround", or if an admin uses amx_rocktheround or amx_rtr,
the round will end after X seconds, which is defined by cvar.



Client Commands
say rocktheround / say rtr
Adds another "rock" to the list.



Admin Commands
amx_rocktheround / amx_rtr
Automatically rocks the round.
Requires ADMIN_SLAY ("e") flag.



Cvars
rtr_enabled <0|1>
1 = Enable plugin, 0 = Disable plugin
rtr_percentage <percentage>
The percentage of players that is required to "rocktheround".
This is expressed as a whole number not as X/100.
Example: "rtr_percentage 50" requires half of the players to rocktheround.
rtr_wait <delay in seconds>
The delay after the round until players can rocktheround.
Example: "rtr_wait 60" makes players wait 1 minute until they can rocktheround.
rtr_enddelay <delay in seconds>
The delay after the round has been rocked until the round is forced to end.
This will be counted down on every player's screen.
rtr_who <0|1|2>
This determines who is allowed to "rocktheround".
0 = Only dead players, 1 = Only alive players, 2 = Everyone
rtr_showcmd <0|1>
Should all players see when a player types "rocktheround" or "rtr"?
0 = Block say command displaying, 1 = Allow say command displaying
rtr_maxpermap <total>
Maximum number of rocked rounds for each map
0 = Disable this feature



Requirements
Round Terminator
This plugin and Round Terminator both need to be installed!



Installation
Plugin needs to be compiled locally with round_terminator.inc
After compiling, install the .amxx like normal.



Credits
Raz
Idea for the plugin
Deagle
For some code from his "Map Management" plugin which contains "rock the vote".



Changelog

Version 0.2
Added rtr_maxpermap cvar
Changed slaying players to use Round Terminator
Version 0.1
Initial Release



Current Version: 0.2

get plugin
get source