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

SetMarkerColor

Материал из RAGE MP Wiki Archive
Версия от 16:28, 13 декабря 2019; imported>Bonus (Created page with "Sets the color of a marker created with CreateMarker. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Marker.SetMarkerColor(NetHandle marker, i...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Sets the color of a marker created with CreateMarker.


void NAPI.Marker.SetMarkerColor(NetHandle marker, int alpha, int red, int green, int blue);

Parameters

  • marker: Parameter input should be in NetHandle type.
  • alpha: 0-255. Parameter input should be in int type.
  • red: 0-255. Parameter input should be in int type.
  • green: 0-255. Parameter input should be in int type.
  • blue: 0-255. Parameter input should be in int type.

Example

<syntaxhighlight lang="csharp"> NAPI.Marker.SetMarkerColor(marker, 255, 200, 0, 0); </syntaxhighlight>