SetMarkerSize: Difference between revisions

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


==See Also==
==See Also==
{{Marker functions}}
{{Marker functions}}

Revision as of 12:02, 16 August 2007

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: The new size of the marker.

Returns

Returns true if successful, false if failed.

Example

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

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

See Also

Shared