getMarkerSize
Client-side
Server-side
Shared
Pair: setMarkerSize
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
This function returns a float containing the size of the specified marker.
Syntax
getMarkerSize ( )Code Examples
server
This example creates a marker and outputs the size to everyone.
-- Create a makerlocal newMarker = createMarker ( 0, 0, 2, "cylinder", 2, 255, 0, 0, 255 )-- If the marker was created successfully then...if isElement ( newMarker ) then -- Tell everyone about it outputChatBox ( "Current marker size: " .. getMarkerSize ( newMarker ) )end