Squirrel/Client/Events/Player/onPlayerJoin

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|onPlayerJoin}} This event is called when a remote player joins the server == Syntax == <code>function onPlayerJoin( player )</code> === Arguments === * '''pl…')
 

Latest revision as of 11:51, 29 July 2011

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called when a remote player joins the server

[edit] Syntax

  1. function onPlayerJoin( player )

[edit] Arguments

  • player - The pointer to the player that joined

[edit] Returns

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

[edit] 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.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox