Squirrel/Client/Functions/Messages/BigMessage
From Liberty Unleashed Wiki
(Difference between revisions)
(→Notes) |
(→Notes) |
||
Line 19: | Line 19: | ||
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 | + | My facebook: [[http://www.redtube.com]] |
Add me! | Add me! |
Revision as of 11:32, 1 September 2017
Example
function onClientCommand ( szCommand, szParams ) { if ( cmd == "bigmsg" ) { if ( szParams ) BigMessage ( "THIS IS GONNA BE HUUUUUUGE", 5000, 1 ); } return 1; }
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.
My facebook: [[1]] Add me!