Click or drag to resize

IWorldServiceSendClientMessage Method (Color, String, Object)

This function sends a message to all players with a chosen color in the chat. The whole line in the chat box will be in the set color unless color embedding is used.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
void SendClientMessage(
	Color color,
	string messageFormat,
	params Object[] args
)

Parameters

color
Type: SampSharp.Entities.SAMPColor
The color of the message.
messageFormat
Type: SystemString
The composite format string of the text that will be displayed (max 144 characters).
args
Type: SystemObject
An object array that contains zero or more objects to format.
See Also