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().

Връщаща стойност

Тази функция няма връщаща стойност.