get_user_rendering

Синтаксис

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

Употреба

index
Client index
fx
Variable to store the rendering effect
r
Variable to store the amount of red color
g
Variable to store the amount of green color
b
Variable to store the amount of blue color
render
Variable to store the render mode
amount
Variable to store the render amount

Описание

Gets 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.