onPlayerConnected – Talk
Jump to navigation
Jump to search
_ID ? is this the players globalID or the game slot number ? _name? is this the players profile name from the client or the name of the players slot.
When abouts does this actually execute ? When the player connects and before they pick a player slot, or when they assume a player in the game ?
ID is broken for players on a dedicated server (id is a very high number e.g. 3.03242E+008).
On a dedicated server this function is also called with [2, "__SERVER__"] at startup (double underscores).
--Cleanrock 18:33, 21 June 2007 (CEST)