cs_set_ent_class
- Синтаксис
-
native cs_set_ent_class(index, const classname[]);
Переменная | Описание |
---|---|
index |
Entity index |
classname |
Classname to update for |
- Описание
- Sets a custom classname of an entity.
- Пометка
-
Unlike other mods CS keeps track of entities using a custom hashtable. This function adds or updates the classname in the hasthable as well. This is useful for use with cs_find_ent_by_class() and cs_find_ent_by_owner().
- Возвращает
- Функция ничего не возвращает