Click or drag to resize

PlayerSendPlayerMessageToPlayer Method

Sends a message in the name the specified sender to this player. The message will appear in the chat box but can only be seen by this player. The line will start with the the sender's name in their color, followed by the message in white.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public void SendPlayerMessageToPlayer(
	EntityId sender,
	string message
)

Parameters

sender
Type: SampSharp.EntitiesEntityId
The player which has sent the message.
message
Type: SystemString
The message that will be sent.
See Also