set_user_rendering

Синтаксис

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

Употреба

index
Client index
fx
Rendering effects. One of kRenderFx* constants
r
The amount of red color (0 to 255)
g
The amount of green color (0 to 255)
b
The amount of blue color (0 to 255)
render
Render mode. One of kRender* constants
amount
Render amount (0 to 255)

Описание

Sets player's rendering mode.

Забележка

A really useful render modes reference:
https://sites.google.com/site/svenmanor/rendermodes

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

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

Грешка

If player is not connected or not within the range
of 1 to MaxClients.