set_rendering
- Синтаксис
-
stock set_rendering(index, fx=kRenderFxNone, r=255, g=255, b=255, render=kRenderNormal, amount=16) { entity_set_int(index,EV_INT_renderfx,fx); new Float:RenderColor[3]; RenderColor[0] = float(r); RenderColor[1] = float(g); RenderColor[2] = float(b); entity_set_vector(index,EV_VEC_rendercolor,RenderColor); entity_set_int(index,EV_INT_rendermode,render); entity_set_float(index,EV_FL_renderamt,float(amount)); return 1; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- Set rendering of an entity