ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getMarkerType

Function

getMarkerType

Server and clientMarkersIdentical to MTA:SA

Returns the marker type ("cylinder", "checkpoint", "arrow", "corona", "ring").

Syntax

string getMarkerType(marker theMarker)

Arguments

theMarkermarker
The marker.

Returns

The type, or false.

Example

local marker = createMarker(0, 0, 3, "arrow")
outputDebugString(getMarkerType(marker))

See also