Squirrel/Client/Functions/Messages/BigMessage

From Liberty Unleashed Wiki
Jump to: navigation, search

Example

  1.  
  2. function onClientCommand ( szCommand, szParams )
  3. {
  4. if ( cmd == "bigmsg" )
  5. {
  6. if ( szParams ) BigMessage ( "THIS IS GONNA BE HUUUUUUGE", 5000, 1 );
  7. }
  8.  
  9. return 1;
  10. }
  11.  

This command will show a HUGE(big) message, with type 0, lasting 5 seconds, showing the specified text, for the command user.

Notes

The call onClientCommand(Client side) was used in in this example. More info about this in the corresponding page.

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox