SetMapIcon
An icon anew - moved, renamed, another type.
The same numbers and opts as CreateMapIcon, whole.
Syntax
Section titled “Syntax”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 |
Returns
Section titled “Returns”boolean - true; false and the reason
Example
Section titled “Example”SetMapIcon(shopIcon, x, y, z, {type = "shop", name = "Closed for the winter", visible = false})See also
Section titled “See also”CreateMapIcon · the Map icons group of the index
