#include <amxmodx>
#include <fakemeta>
#define PLUGIN "Unlimited ChooseTeam"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.1"
public plugin_init()
{
register_plugin( PLUGIN, VERSION, AUTHOR )
register_clcmd("chooseteam", "ClientCommand_ChooseTeam")
}
public ClientCommand_ChooseTeam( id )
{
set_pdata_int(id, 125, get_pdata_int(id, 125, 5) & ~(1<<8), 5)
}
#pragma semicolon 1
#include <amxmodx>
#include <reapi>
public plugin_init()
{
register_plugin("Unlimited Choose Team", "1.0", "fl0wer");
RegisterHookChain(RG_HandleMenu_ChooseTeam, "@HandleMenu_ChooseTeam_Post", true);
}
@HandleMenu_ChooseTeam_Post(iPlayer)
{
set_member(iPlayer, m_bTeamChanged, false);
}