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

SetMarkerColor

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

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>