Skip to content

event onPlayerChangeColor (server-side)

This event is triggered when player nickname color was changed for all players.

Parameters

int playerid, int r, int g, int b
  • int playerid: the id of the player whose nickname color was changed.
  • int r: the amount of red in the nickname color (0 - 255).
  • int g: the amount of green in the nickname color (0 - 255).
  • int b: the amount of blue in the nickname color (0 - 255).