cs_set_user_vip
- Синтаксис
-
native cs_set_user_vip(index, vip = 1, model = 1, scoreboard = 1);
Переменная | Описание |
---|---|
index |
Client index |
vip |
If nonzero the client will be made a VIP, otherwise the VIP status will be removed |
model |
If nonzero the client's model will be changed to the VIP model, otherwise a random CT model will be selected |
scoreboard |
If nonzero the scoreboard will be updated to reflect the new VIP status |
- Описание
- Sets the client's VIP status and displayed model and scoreboard flag.
- Пометка
-
This is mostly useful for removing VIP status so the client can change teams and/or buy items properly. It does not alter gameplay, the player that is selected as VIP at the start of a round will retain the internal VIP status and remain the primary objective for the game mode.
- Возвращает
- Функция ничего не возвращает