Scripting/Server/Functions/BigMessage
Shows a big on-screen message. style is the GTA III big-message style 0-5 (default 2).
Syntax
BigMessage(player, text [, timeMs [, style]])Arguments
- Player player
- string text
- int timeMs (optional)
- any style (optional) –
styleis the GTA III big-message style 0-5 (default 2).
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "bigmessage" )
{
BigMessage( player, "Hello world" );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- Message
- MessagePlayer
- MessageAllExcept
- SendPlayerMessage
- SmallMessage
- HelpMessage
- PagerMessage
- ClearMessages
- PlayFrontEndSound
- PlaySuspectLastSeen
Section: Messages and chat
Categories: Server functions | Messages and chat