AMX Mod X API Documentation

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

Sets rendering options of an entity.

Notes
  • 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.

Parameters
  • 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
No return value
Errors
  • If an invalid entity index is provided, an error will be

    thrown.

Назад
Верх