cs_set_user_team
- Синтаксис
-
native cs_set_user_team(index, any:team, any:model = CS_DONTCHANGE, bool:send_teaminfo = true);
Переменная | Описание |
---|---|
index |
Client index |
team |
Team id |
model |
Internal model id, if CS_DONTCHANGE the game will choose the model or if CS_NORESET the game will not update it. |
send_teaminfo |
If true, a TeamInfo message will be sent |
- Описание
- Sets the client's team without killing the player, and sets the client model.
- Пометка
-
For a list of valid team ids see the CsTeams enum, and for a list of valid internal model ids see the CsInternalModel enum.
- Возвращает
- Функция ничего не возвращает