Scripting/Server/Functions/ClearMessages

Removes the big/small messages currently on that player's screen.

Syntax

ClearMessages(player)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "clearmessages" )
	{
		ClearMessages( player );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Messages and chat

Categories: Server functions | Messages and chat