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
- Player player
- string text
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.
Related pages
- Message
- MessagePlayer
- MessageAllExcept
- SendPlayerMessage
- SmallMessage
- BigMessage
- PagerMessage
- ClearMessages
- PlayFrontEndSound
- PlaySuspectLastSeen
Section: Messages and chat
Categories: Server functions | Messages and chat