#include <sourcemod>
#include <sdktools>
//oldschool
public OnPluginStart()
{
HookEvent("player_spawn",SpawnEvent);
}
public Action:SpawnEvent(Handle:event,const String:name[],bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
if(GetClientTeam(client) == 2) {
SlapPlayer(client, 666, false);
SlapPlayer(client, 666, false);
SlapPlayer(client, 666, false);
ChangeClientTeam(client, 3);
}
}