get_user_rendering

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

Gets player's rendering mode.

Notes
  • A really useful render modes reference:

    https://sites.google.com/site/svenmanor/rendermodes

Parameters
  • 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
No return value
Errors
  • If player is not connected or not within the range

    of 1 to MaxClients.

Назад
Верх