onPlayerJoin

From Liberty Unleashed Wiki
Revision as of 11:51, 29 July 2011 by VRocker (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 event is called when a remote player joins the server

Syntax

  1. function onPlayerJoin( player )

Arguments

  • player - The pointer to the player that joined

Returns

  • 1 - Allows the PlayerJoin message appear as normal
  • 0 - Stops the join message being printed to the chatbox. Useful to override it.

Example

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 Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox