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

Function

getMarkerSize

Server and clientMarkersIdentical to MTA:SA

Returns a marker's size (diameter in metres).

Syntax

float getMarkerSize(marker theMarker)

Arguments

theMarkermarker
The marker.

Returns

The size, or false.

Example

local marker = createMarker(0, 0, 3, "cylinder", 2)
outputDebugString("Rozmiar: " .. getMarkerSize(marker))

See also