SetMarkerType: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 17: Line 17:
  marker = [[createMarker]] ( 1000, 1000,1000, 0, 255, 0, 0 )
  marker = [[createMarker]] ( 1000, 1000,1000, 0, 255, 0, 0 )
   
   
  setMarkerType ( marker, 1)
  [setMarkerType]] ( marker, 1)

Revision as of 04:42, 31 March 2006

Description

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

Syntax

bool setMarkerType ( marker marker, int type)

Required Arguments

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

Acceptable type values

  • 0: Checkpoint
  • 1: Corona (doughnut-shaped)

Example

marker = createMarker ( 1000, 1000,1000, 0, 255, 0, 0 )

[setMarkerType]] ( marker, 1)