SetMapIconVisibleFor
Shows an icon to one player, or hides it from them.
Over the icon’s own visible; nil follows it again. Kept while they are connected.
Syntax
Section titled “Syntax”SetMapIconVisibleFor(pid, id, visible)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
id |
number | the icon |
visible |
boolean|nil | true, false or nil |
Returns
Section titled “Returns”boolean - false when the icon or the player is not there
Example
Section titled “Example”-- the thieves' den shows on the map of the guild's members aloneSetMapIconVisibleFor(pid, denIcon, true)See also
Section titled “See also”CreateMapIcon · the Map icons group of the index
