Click or drag to resize

BasePlayerSetMapIcon Method

Place an icon/marker on this player's map. Can be used to mark locations such as banks and hospitals to players.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void SetMapIcon(
	int iconId,
	Vector3 position,
	MapIcon markerType,
	Color color = default,
	MapIconType markerStyle = MapIconType.Local
)

Parameters

iconId
Type: SystemInt32
The icon identifier.
position
Type: SampSharp.GameModeVector3
The position of the map icon.
markerType
Type: SampSharp.GameMode.DefinitionsMapIcon
Type of the map icon marker.
color (Optional)
Type: SampSharp.GameMode.SAMPColor
The color of the map icon marker (for ColoredSquareTriangleDynamic).
markerStyle (Optional)
Type: SampSharp.GameMode.DefinitionsMapIconType
The marker style.
See Also