#include <amxmodx>
#include <reapi>
public plugin_init() {
register_clcmd("chooseteam", "ClCmd_ChooseTeam");
register_clcmd("jointeam", "ClCmd_ChooseTeam");
}
public ClCmd_ChooseTeam(id) {
if(is_user_connected(id)) {
set_member(id, m_bTeamChanged, false);
}
return PLUGIN_CONTINUE;
}