SetMarkerSize

From Multi Theft Auto: Wiki
Revision as of 15:09, 4 May 2008 by Awwu (talk | contribs)
Jump to navigation Jump to search

This function sets the size of the specified marker.

Syntax

bool setMarkerSize ( marker theMarker, float size )

Required Arguments

  • theMarker: The marker that you wish to set the size of.
  • size: A float representing new size of the marker.

Returns

Returns true if successful, false if failed.

Example

This example creates a cylinder marker at the position 1000, 1000, 1000 and sets its size to 2.5.

newmarker = createMarker ( 1000, 1000, 1000, "cylinder" )
setMarkerSize ( newmarker, 2.5 )

See Also

Client



Server