Squirrel/Server/Functions/Messages/SmallMessage
From Liberty Unleashed Wiki
(Difference between revisions)
(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:
bool SmallMessage( string text, int time, int type )
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
-- todo
Notes
-- Example notes here