Skip to content

SetMapIcon

An icon anew - moved, renamed, another type.

The same numbers and opts as CreateMapIcon, whole.

SetMapIcon(id, x, y, z, opts)
Parameter Type
id number the icon
x number metres
y number metres
z number metres
opts table the options

boolean - true; false and the reason

SetMapIcon(shopIcon, x, y, z, {type = "shop", name = "Closed for the winter", visible = false})

CreateMapIcon · the Map icons group of the index