set_entity_visibility
- Синтаксис
-
stock set_entity_visibility(entity, visible = 1) { entity_set_int(entity, EV_INT_effects, visible == 1 ? entity_get_int(entity, EV_INT_effects) & ~EF_NODRAW : entity_get_int(entity, EV_INT_effects) | EF_NODRAW); return 1; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- If visible = 1, entity will be set to be visible, else invisible.