- Documentation
- Server functions
- getMarkerTarget
Function
getMarkerTarget
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)