getMarkerIcon | Multi Theft Auto: Wiki Skip to content

getMarkerIcon

Client-side
Server-side
Shared

Pair: setMarkerIcon

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 the icon name for a marker.

Syntax

getMarkerIcon ( )

Code Examples

server
newmarker = createMarker ( 1000, 1000,1000, "checkpoint", 255, 0, 0 )
icon = getMarkerIcon ( newmarker )
outputChatBox ( "The default marker icon is " .. icon )