Click or drag to resize

BasePlayerSendPlayerMessageToPlayer Method

Sends a message in the name this BasePlayer to another player on the server. The message will appear in the chat box but can only be seen by receiver. The line will start with the this Player's name in his color, followed by the message in white.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public virtual void SendPlayerMessageToPlayer(
	BasePlayer receiver,
	string message
)

Parameters

receiver
Type: SampSharp.GameMode.WorldBasePlayer
The BasePlayer who will recieve the message
message
Type: SystemString
The message that will be sent.
See Also