/* Plugin generated in other programmm */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#define PLUGIN "Join Team"
#define VERSION "0.1"
#define AUTHOR "Pass'es"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("jointeam", "changujchosee")
}
public changujchosee(id)
{
//cs_set_user_team ( id, CS_TEAM_SPECTATOR, CS_DONTCHANGE )
// or
// |
// |
cs_set_user_team ( id, 3, 0 )
}
2)
/* Plugin generated in other programmm */
#include <amxmodx>
#define PLUGIN "Do not choose team in play"
#define VERSION "0.1"
#define AUTHOR "Pass'es"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("chooseteam", "cmdblockchoose")
}
public cmdblockchoose(id)
{
client_print(id, print_chat, "Nie mozesz zmieniac se teamu !")
return PLUGIN_HANDLED;
}



