cs_set_user_model
- Синтаксис
-
native cs_set_user_model(index, const model[], bool:update_index = false);
Переменная | Описание |
---|---|
index |
Client index |
model |
Model name |
update_index |
If true, the modelindex is updated as well |
- Описание
- Sets the client's player model.
- Пометка
-
This is not a one-time set. The CStrike module will remember the selected model and try to prevent attempts at changing the player model, or immediately re-apply it if necessary.
- Пометка
-
Updating modelindex is useful for custom models which don't have the same structure as the default ones (hitbox, etc..). Model must be precached before.
- Возвращает
- Функция ничего не возвращает