SetMarkerSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
<syntaxhighlight lang="lua">newmarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 )
<syntaxhighlight lang="lua">newmarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 )
setMarkerSize ( newmarker, 2.5)</syntaxhighlight>
setMarkerSize ( newmarker, 2.5)</syntaxhighlight>
==See Also==
{{Marker}}

Revision as of 19:53, 20 May 2006

Description

This function sets the size of the specified marker. The function returns false if it fails.

Syntax

bool setMarkerSize ( marker marker, float size )

Required Arguments

  • marker: The marker that you wish to retrieve the size of.
  • size: The new size of the marker.

Example

newmarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 )
setMarkerSize ( newmarker, 2.5)

See Also

Template:Marker