Squirrel/Server/Functions/Messages/SmallMessage

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ This function sends a small GTA style text to a player or all the players in the game. == Syntax == ''SmallMessage'' can take 2 different lists of parameters. These are: <code...)

Revision as of 01:33, 27 November 2009

This function sends a small GTA style text to a player or all the players in the game.

Syntax

SmallMessage can take 2 different lists of parameters. These are:

  1. bool SmallMessage( string text, int time, int type )
  1. bool SmallMessage( Player plr, string text, int time, int type )

Arguments

  • text - This is the message to send to players
  • time - This is how long the message will stay on screen
  • type - The type of the announcement message
  • plr - The pointer to the player who should get the message

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- Example notes here

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox