GetMarkerSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 12: Line 12:
  newmarker = [[createMarker]] ( 1, 1000, 1000, 1000, 1,0,0 )
  newmarker = [[createMarker]] ( 1, 1000, 1000, 1000, 1,0,0 )
   
   
  [[serverChat]] ( "Current marker size: ", getMarkerSize ( newmarker ) )
  [[serverChat]] ( "Current marker size: ", [[getMarkerSize]] ( newmarker ) )

Revision as of 04:23, 31 March 2006

Description

This function returns a float containing the size of the specified marker.

Syntax

float getMarkerSize ( marker marker )

Required Arguments

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

Example

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

serverChat ( "Current marker size: ", getMarkerSize ( newmarker ) )