Player.ColouredName

From Liberty Unleashed Wiki
Revision as of 04:54, 23 May 2015 by ClashJTM (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This Player class member variable sets or returns the players coloured name. You can use the colour formatting tags with this function ([#RRGGBB] [#d]).

Syntax

  1. string Player.ColouredName
  1. Player.ColouredName = string new_name

Arguments

  • new_name - Player's new name with colour tags.

Example 1. Returning

Some explanation here

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. function OnPlayerJoin( player )
  3. {
  4. Message( "*** " + player.ColouredName + " has joined the server." );
  5. }
  6.  

Notes

name with colour

Example 2. Setting

Some explanation here

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

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox