native

zp_set_user_rendering

Syntax

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

Description

Sets rendering options of an user (Compatibility with handle models separate ent in older versions).

Parameters

index Player 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

Note

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

Note

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

Return

True if sucess, false otherwise