SetMarkerIcon

From Multi Theft Auto: Wiki
Revision as of 10:30, 24 September 2006 by MrJax (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This function sets the icon type for a 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 icon of marker (see below).

Acceptable icon values

  • 0: No icon
  • 1: Arrow icon
  • 2: Finish icon

Example

marker = createMarker ( 1000, 1000, 1000, "checkpoint", 255, 0, 0 ) 
setMarkerIcon ( marker, 1 )

See Also