Перейти к содержанию

SetTextLabelColor

Материал из RAGE MP Wiki Archive

Sets the color for the given text label.


<syntaxhighlight lang="csharp">void NAPI.TextLabel.SetTextLabelColor(NetHandle label, int red, int green, int blue, int alpha);</syntaxhighlight>

Parameters

  • label: parameter input should be in NetHandle type
  • red: parameter input should be in int type
  • green: parameter input should be in int type
  • blue: parameter input should be in int type
  • alpha: parameter input should be in int type


Example

<syntaxhighlight lang="csharp"> // Code here... </syntaxhighlight>