Skip to content

GetMapIcon

An icon as it stands.

GetMapIcon(id)
Parameter Type
id number the icon

table - {id, x, y, z, type, icon, name, visible}; nil when there is none

local icon = GetMapIcon(shopIcon)
if icon then Log(icon.name .. " at " .. icon.x .. ", " .. icon.y) end

GetMapIcons · the Map icons group of the index