Click or drag to resize

PlayerSetMapIcon 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.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public void SetMapIcon(
	int iconId,
	Vector3 position,
	MapIcon type,
	Color color,
	MapIconType style
)

Parameters

iconId
Type: SystemInt32
The player's icon identifier, ranging from 0 to 99. This means there is a maximum of 100 map icons.
position
Type: SampSharp.Entities.SAMPVector3
The position to place the map icon at.
type
Type: SampSharp.Entities.SAMPMapIcon
The type of the marker.
color
Type: SampSharp.Entities.SAMPColor
The color of the marker.
style
Type: SampSharp.Entities.SAMPMapIconType
The style of the marker.
See Also