SetMarkerSize: Difference between revisions

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


===Required Arguments===
===Required Arguments===
*'''theMarker:''' The [[marker]] that you wish to retrieve the size of.
*'''theMarker:''' The [[marker]] that you wish to set the size of.
*'''size:''' The new size of the marker.
*'''size:''' The new size of the marker.



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