ok, i have a few problems.
Heres what i'm trying to do:
PHP Code:
for (pl: players) {
olplayers.players.(pl.account) = {pl.level,pl.x,pl.y};
}
player.chat = olplayers.getvarnames();
I'm trying to create an index with the name of the players account. It's showing up as "account" in getvarnames. Where the index should be the name of the player. How can I make it understand that pl.account is a variable that needs to be interpreted?