SetMarkerColor

From RAGE Multiplayer Wiki
Revision as of 16:28, 13 December 2019 by Bonus (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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);