Scripting/Server/Functions/MessageAllExcept

Chat line to everyone except the player with this id (integer).

Syntax

MessageAllExcept(text, exceptPlayerID)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "messageallexcept" )
	{
		MessageAllExcept( "Hello world", 0 );
	}
}

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

Section: Messages and chat

Categories: Server functions | Messages and chat