cs_set_user_tked
- Синтаксис
-
native cs_set_user_tked(index, tk = 1, subtract = 1);
Переменная | Описание |
---|---|
index |
Client index |
tk |
Team kill status |
subtract |
Amount of frags to subtract, negative values add frags |
- Описание
- Sets the client's team kill status, indicating whether the client has committed a team kill in the current round.
- Пометка
-
If this is set to 1 the client will be punished at the start of the next round depending on the value of the mp_tkpunish cvar. The team kill status is then reset.
- Возвращает
- Функция ничего не возвращает