set_ent_rendering

Syntax

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

Usage

index
The entity index to apply the render.
fx
The render effect. See kRenderFx* constants.
r
The amount of red.
g
The amount of green.
b
The amount of blue.
render
The render mode. See kRender* constants.
amount
The render thickness generally. It can have others meaning depending effect/mode.

Description

Sets rendering of an entity, including player entities.
This is basically the same as set_rendering() stock.

Return

This function has no return value.