SampSharp
SampSharp
SampSharp.Entities.SAMP
Player Class
Player Methods
ApplyAnimation Method
AttachCameraToObject Method
Ban Method
CancelEdit Method
CancelSelectTextDraw Method
ClearAnimations Method
CreateExplosion Method
DisableCheckpoint Method
DisableRaceCheckpoint Method
DisableRemoteVehicleCollisions Method
DoEditAttachedObject Method
Edit Method
EnablePlayerCameraTarget Method
EnableStuntBonus Method
ForceClassSelection Method
GameText Method
GetAnimationName Method
GetDistanceFromPoint Method
GetKeys Method
GetLastShot Method
GetTime Method
GetWeaponData Method
GiveMoney Method
GiveWeapon Method
InterpolateCameraLookAt Method
InterpolateCameraPosition Method
IsAttachedObjectSlotUsed Method
IsInRangeOfPoint Method
IsInVehicle Method
IsPlayerStreamedIn Method
Kick Method
PlayAudioStream Method
PlayCrimeReport Method
PlaySound Method
PutCameraBehindPlayer Method
PutInVehicle Method
RemoveAttachedObject Method
RemoveBuilding Method
RemoveFromVehicle Method
RemoveMapIcon Method
ResetMoney Method
ResetWeapons Method
Select Method
SelectTextDraw Method
SendClientMessage Method
SendDeathMessage Method
SendPlayerMessageToPlayer Method
SetAmmo Method
SetArmedWeapon Method
SetAttachedObject Method
SetCameraLookAt Method
SetChatBubble Method
SetCheckpoint Method
SetMapIcon Method
SetPlayerMarker Method
SetPositionFindZ Method
SetRaceCheckpoint Method
SetShopName Method
SetSkillLevel Method
SetSpawnInfo Method
SetTime Method
SetWeather Method
SetWorldBounds Method
ShowNameTagForPlayer Method
Spawn Method
SpectatePlayer Method
SpectateVehicle Method
StartRecordingPlayerData Method
StopAudioStream Method
StopRecordingPlayerData Method
ToggleClock Method
ToggleControllable Method
ToggleSpectating Method
Player
SetMapIcon 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#
Copy
public
void
SetMapIcon
(
int
iconId
,
Vector3
position
,
MapIcon
type
,
Color
color
,
MapIconType
style
)
Parameters
iconId
Type:
System
Int32
The player's icon identifier, ranging from 0 to 99. This means there is a maximum of 100 map icons.
position
Type:
SampSharp.Entities.SAMP
Vector3
The position to place the map icon at.
type
Type:
SampSharp.Entities.SAMP
MapIcon
The type of the marker.
color
Type:
SampSharp.Entities.SAMP
Color
The color of the marker.
style
Type:
SampSharp.Entities.SAMP
MapIconType
The style of the marker.
See Also
Reference
Player Class
SampSharp.Entities.SAMP Namespace