SetMarkerColor

From RAGE Multiplayer Wiki

Sets the color of a marker created with CreateMarker.


C# Syntax

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

NAPI.Marker.SetMarkerColor(marker, 255, 200, 0, 0);