Try this plugin for SWITCH_TEAMS:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#define PLUGIN "furien_switch"
#define VERSION "1.0"
#define AUTHOR "Arslan"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event( "SendAudio", "CT_win", "a", "2&%!MRAD_ctwin" )
}
public CT_win()
{
new iPlayers[32], pnum, id
get_players(iPlayers, pnum)
for(new i; i < pnum; i++)
{
id = iPlayers[i]
if ( is_user_connected( id ) )
{
switch( cs_get_user_team( id ) )
{
case CS_TEAM_T:
{
cs_set_user_team(id, CS_TEAM_CT, CS_CT_GIGN)
}
case CS_TEAM_CT:
{
cs_set_user_team(id, CS_TEAM_T, CS_T_LEET)
}
}
}
}
}
And the WallHang here is the plugin for your server...