SetMarkerSize

From Multi Theft Auto: Wiki
Revision as of 23:24, 26 December 2006 by Ransom (talk | contribs)
Jump to navigation Jump to search
Dialog-information.png This article needs checking.

Reason(s): Will not accept varible for markersize arg. I wanted to make a gradually fading ball of light for an explosion.


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

Syntax

bool setMarkerSize ( marker theMarker, float size )

Required Arguments

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

Example

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

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

See Also