Scripting/Server/Functions/HelpMessage

Shows the help box of the game (cheat codes / game hints) to the player. Since 0.6 it sits right above the radar instead of the top left, where the chat is. Client scripts have HelpMessage(text).

Syntax

HelpMessage(player, text)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "helpmessage" )
	{
		HelpMessage( player, "Hello world" );
	}
}

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

Section: Messages and chat

Categories: Server functions | Messages and chat