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-local+709673996c0cc3c0733358a87691d1009326afa7
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