GetMarkerSize: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
==Example== | ==Example== | ||
This example creates a marker and outputs the size to everyone. | This example creates a marker and outputs the size to everyone. (server/client) | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
-- Create a maker | -- Create a maker |
Revision as of 12:24, 3 August 2007
This function returns a float containing the size of the specified marker.
Syntax
Click to expand [+]
ServerClick to expand [+]
ClientExample
This example creates a marker and outputs the size to everyone. (server/client)
-- Create a maker newMarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 ) -- If the marker was created successfully then... if ( newMarker ~= false ) then -- Tell everyone about it outputChatBox ( "Current marker size: " .. getMarkerSize ( newMarker ) ) end
See Also
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker