I want to store a variable for a player, but I want to access it across map changes. At the moment I am using client as an array index, but it can change.
From my understanding, a player userid will be unique for the lifetime of the game server, so it seems like I need to somehow use that. Would this involve storing userid first in an array, and then using that to get a new client number after a map change? Does anyone have any working code of this so I can see how it's done?