View Single Post
  #4  
Old 08-27-2006, 03:57 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
ok, i have a few problems.

Heres what i'm trying to do:

PHP Code:
for (plplayers) {
  
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?
Reply With Quote