Skip to content

KcdMp.player_id

This client’s own player id.

Set when the server welcomes the client; nil before. The key into KcdMp.state.player for the client’s own bag, and the pid the mode sees this player as.

KcdMp.player_id

number - the pid; nil before the welcome

local me = KcdMp.state.player[KcdMp.player_id] or {}

KcdMp.state · the State bags group of the index