SetPlayerNametagColor

From GT-MP
Jump to: navigation, search
SetPlayerNametagColor
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Sets the specified player's nametag color to the specified color.


Syntax

API.setPlayerNametagColor(LocalHandle player, int r, int g, int b);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • r: parameter input should be in int type.
  • g: parameter input should be in int type.
  • b: parameter input should be in int type.

Usage example(s)

API.setPlayerNametagColor(LocalHandle player, int r, int g, int b);


References