set_ent_rendering

Синтаксис

native set_ent_rendering(index, fx = kRenderFxNone, r = 0, g = 0, b = 0, render = kRenderNormal, amount = 0);

Употреба

index
Entity index
fx
Rendering effect
r
Red component of rendering color
g
Green component of rendering color
b
Blue component of rendering color
render
Rendering mode
amount
Rendering amount

Описание

Sets rendering options of an entity.

Забележка

For a list of valid rendering effects see the kRenderFx* constants in
amxconst.inc

Забележка

For a list of valid rendering modes see the kRender* constants in
amxconst.inc

Забележка

Rendering amount has different meanings depending on the rendering
effect and mode used on the entity.

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

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

Грешка

If an invalid entity index is provided, an error will be
thrown.