Scripting/Server/Functions/ClearMessages
Removes the big/small messages currently on that player's screen.
Syntax
ClearMessages(player)Arguments
- Player player
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "clearmessages" )
{
ClearMessages( player );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- Message
- MessagePlayer
- MessageAllExcept
- SendPlayerMessage
- SmallMessage
- BigMessage
- HelpMessage
- PagerMessage
- PlayFrontEndSound
- PlaySuspectLastSeen
Section: Messages and chat
Categories: Server functions | Messages and chat