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

SetTextLabelColor

Материал из RAGE MP Wiki Archive
Версия от 09:34, 30 ноября 2019; imported>Xabi (Created page with "Sets the color for the given text label. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}TextLabel.SetTextLabelColor(NetHandle label,...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>