SetMarkerIcon

From Multi Theft Auto: Wiki
Revision as of 10:52, 24 September 2006 by MrJax (talk | contribs)
Jump to navigation Jump to search

Description

This function sets an ID number that corresponds to a particular visual style of marker.

Syntax

bool setMarkerIcon ( marker marker, int icon )

Required Arguments

  • marker: A marker class referencing the specified marker.
  • icon: An integer (whole number) referring to the type of icon (see below).

Acceptable icon values

  • "none": No icon
  • "arrow": Arrow icon
  • "finish": Finish (end-race) icon

Example

marker = createMarker ( 1000, 1000,1000, 0, 255, 0, 0 ) 
setMarkerIcon ( marker, "finish" )

See Also