What's the difference between using cs_set_user_team() and this (except that cs_set_user_team only works witch counter-strike):
PHP Code:
public changeTeamInfo (player, team[])
{
message_begin (MSG_ONE, get_user_msgid ("TeamInfo"), _, player) // Tells to to modify teamInfo (Which is responsable for which time player is)
write_byte (player) // Write byte needed
write_string (team) // Changes player's team
message_end() // Also Needed
}
__________________