Auto Swap Teams v 1.6
last update(dd/mm/yyyy) 07/11/2012
This plugin can be compile via official online compiler,
Hello everyone, this is my first plugins
If plugins not good, please forgive me
and Sorry my bad english
That is mean you can click "Get Plugin" to download .amxx file.
Fix all the bugs and FSB_Allowoverflow Problem when 12+ players,
Now this plugin can running in 32 players.
If you wanna keep score I suggest turn ast_live to 0,
but it wont keep the team score. team score will stay as normal, won't change (CT->T)
ALSO PLEASE NOTICE LANG FILE HAS UPDATE.
I rewrite almost half of the code tree 'cause after long time I came
SWITCHING_TEAMS = ==== Switching Teams ====
ROUNDS1 = ROUNDS
ROUNDS1_CHAT = [NOTICE] Rounds
ROUNDS2 = ROUNDS
ROUNDS1_CHAT = [NOTICE] Rounds
LIVE_NOTICE = [NOTICE]After [LIVE ON 3] Will Play On New Team
LIVE = [NOTICE] LIVE LIVE LIVE Good Luck & Have Fun!!!
NEW_TEAM = [NOTICE] Your Team has been changed, please notice your mission
GOOD_GAME = Team Switched, Have a Good Game.
back and I even don't know what I was wrote
I changed all of the cvar easy to remember.
'cause I can't remember the cvar that i was used.
& I change my swap_team() code to xPaw version.. thx you
the sv_restart and restartround bug is already fixed on 1.5,
After six hours testing and editing with million cups of coffee,
I finally made this plugin works fine.
How To This Plug-in Work?
This plugins will auto swap teams after the cvar you set on ast_half_rounds
I set ast_half_rounds
, than My server Will Swap All player's team
to another team when rounds 8 end (Ct->T;T->Ct)
,so player can play each team
on the same map
, when rounds goes to 16
,Server will change map to amx_nextmap
just like some server plugins in Counter-Strike:Source
only need to set ast_half_rounds
plz del mp_maxrounds from server.cfg
ast_enable (1/0) // Enable the plugins (def: 1)
ast_half_rounds (num) // Automatically change the teams of the round number (def: 8 )
(1/0) //Set it, Would you like to live on 3 after team changed? (def: 1) recommand
put .txt file to your lang dir.
put .sma file to your scripting dir.
compile it and put .amxx file in plugins dir.
add Auto_Swap_Teams_15.amxx in bottom of the plugins.ini
add cvar in amxx.cfg or server.cfg
change server map and you are good to go
AMX Mod X 1.8.1 or higher.
Special Thanks To:
//Help me fix my bad plugin to good =]
//Some ideas =]
//multilangual made =]
//help me to fix my plugins to wonderful =]
To Do List:
center hudder text.
Live on 3 after swap teams.
- Vote next map after swap teams.
- Play some music during switching team.
Add some extra massege at round start.
- Based on mp_timelimit and have cvar can switch it.
BIG BUG :
DONT USE ANY HAVE USE COMMAND "sv_restart" PLUGINS
DURING THE GAME. IT WILL CRASH HUD ROUND COUNDER X(
(fixed on 1.5, thx xPaw)
ML now have:
Translation Request Post
1.0 -> very poor code tree,i'm so newbie
1.1 -> thanks alan_el_more rewrite my bad plugins
1.2 -> thanks t0m3xxx give me some ideas,and help me do it
1.3 -> thanks crazyeffect made a multilangual for my plugins
1.5 -> thanks xpaw for more better code tree from his code skills.
1.6 -> thanks many people did the translation!
Sorry my bad english
Auto_Swap_Teams_15.sma - 504 views