onPlayerConnected – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


[[User:BarmyArmy|BarmyArmy]]
[[User:BarmyArmy|BarmyArmy]]
ID is broken for players on a dedicated server (id is a very high number e.g. 3.03242E+008).<br>
On a dedicated server this function is also called with [2, "__SERVER__"] at startup (double underscores).<br>
--[[User:Cleanrock|Cleanrock]] 18:33, 21 June 2007 (CEST)

Revision as of 17:33, 21 June 2007

_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 ?

BarmyArmy

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)