need help : i am using this plugin last 5 months and now got some issue . my problem is how to stop players team change is that possible to make plugin to remember there team to put them back there and also this plugin is updated in some servers. can some 1 plz updated this . or give me this version of plugin "Jesters Players Panel and Switch Menu" (1.3.4) by -=BwA=- Jester tnx in advance sory for poor eng

RegConsoleCmd("join", JoinRandomTeam);// Swap teams with another player with their consent //RegConsoleCmd("swapwithme", SwapWithMe);

how to add this code

PHP Code:

public Action:Command_Join(client, args){ if (client) { if (GetClientTeam(client) == 3) {PrintHintText(client, "You are already playing in a team of infected!"); } if (GetClientTeam(client) == 2) {PrintHintText(client, "You are already playing in a team of survivors!"); }

} return Plugin_Handled;}

in this section

[PHP]public Action:JoinRandomTeam(client, args) {

LogActivity(client, "JoinRandomTeam");

GetMaxValues();

// See how much space is left on the teams
new survslots = MAX_SURVIVORS - TeamCount(TEAM_SURVIVOR);
new infslots = MAX_INFECTED - TeamCount(TEAM_INFECTED);

i want plugin remember client team and put team back to there last team examp : client is survivor he type !join plugin tell him (You are already playing in a team of survivors)
same as infected . but if client type !afk and join again plugin will put them back to his previous team. examp:1 client is infected he type !afk and go spectoror and he type !join plugin will put him infected team.
2 client is survivor he type !afk and go spectoror type and he !join plugin will put him survivor team.
why i am asking this coz lots of players only playing infected don't no why. so i need to stop this for now i overrides !join command so spectorors cant join game .