ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getMarkerTarget

Function

getMarkerTarget

ServerMarkersIdentical to MTA:SA

Returns the marker's target point set with setMarkerTarget.

Syntax

float, float, float getMarkerTarget(marker theMarker)

Arguments

theMarkermarker
The marker.

Returns

x, y, z, or false when the marker has no target.

Example

local marker = createMarker(0, 0, 3, "ring", 4)
setMarkerTarget(marker, 100, 0, 3)
local tx, ty, tz = getMarkerTarget(marker)

See also