Click or drag to resize

WorldServiceSendPlayerMessageToPlayer Method

Sends a message in the name the specified sender to all players. The message will appear in the chat box and can be seen by all 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.

Implements

IWorldServiceSendPlayerMessageToPlayer(EntityId, String)
See Also