SetMarkerSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 4: Line 4:


==Syntax==
==Syntax==
bool [[setMarkerSize]] ( [[marker]] marker, float size )
<syntaxhighlight lang="lua">bool setMarkerSize ( marker marker, float size )</syntaxhighlight>


===Required Arguments===
===Required Arguments===
Line 11: Line 11:


==Example==
==Example==
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)

Revision as of 03:39, 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)