Squirrel/Client/Functions/Messages/BigMessage

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(--Kupka (talk) 14:10, 3 September 2017 (BST)Headline text)
 
Line 18: Line 18:
  
 
The call [[Squirrel/Client/Events/Player/onClientCommand|onClientCommand(Client side)]] was used in in this example. More info about this in the corresponding page.
 
The call [[Squirrel/Client/Events/Player/onClientCommand|onClientCommand(Client side)]] was used in in this example. More info about this in the corresponding page.
 
My facebook: [[http://www.redtube.com]]
 
Add me!
 
Seriously don't its porn
 
 
== - [User:VRocker] - ==
 

Latest revision as of 18:34, 5 September 2017

[edit] 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.

[edit] 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