native

cs_set_player_team

Syntax

native cs_set_player_team(id, CsTeams:team, update = true)

Description

Sets a player's team.

Parameters

id Player index.
team CS_TEAM_ constant.
update Whether to update team on scoreboard.