Hi i'm making a plugin and i need to check when a player is changing the team and i mean like this for example if i'm on CT team and i change the team with cs_set_user_team to T how can i check that i have change the team and yes i have test it with register_event( "TeamInfo", "event_team_info", "a" ); but it doesn't work.
PHP Code:
register_clcmd("say /changeteam", "changeteam")
public changeteam(id)
{
cs_set_user_team(id) == CS_TEAM_T);
}
Sorry for my bad english
__________________