set_ent_rendering
native set_ent_rendering(index, fx = kRenderFxNone, r = 0, g = 0, b = 0, render = kRenderNormal, amount = 0);
| Parameter |
Description |
| 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.
This function has no return value.
If an invalid entity index is provided, an error will be
thrown.