Streakownage.amxx
About
This plugin is inspired/started from a plugin from SuidiceDog called
Skunkage. His plugin would change the map if one team skunked the other in x amount of rounds. This plugin counts each team win and if one team wins x amount of rounds in a row, the teams are randomly mixed together (immune admins/bot are untouched.) The plugin is continuous and is good for a fun server that runs on one map only.
Commands
amx_shake - This will randomly mix the teams together, regardless of team streaks. Requires ADMIN_KICK flag.
say /ownage - Tells player the current Ownage team score/streaks. Any player may call this command.
CVars
amx_skunk (default 7) - amount of wins a team needs in a row for amx_shake to take effect.
Modules
#include <amxmodx>
#include <cstrike>
#include <fun>
Thanks to
OLO for his Win Limit plugin
SuicideDog for his Skunage plugin
Note
This is my first attempt at amxx programming so there may be flaws/errors that I am will to fix with the help of you forumers reading this.