Jump to content

Table


WhoAmI

Recommended Posts

loggedAccounts[id]["username"] = username; 
loggedAccounts[id]["token"] = token; 
loggedAccounts[id]["email"] = a[1]["email"]; 
loggedAccounts[id]["serial"] = a[1]["serial"]; 
loggedAccounts[id]["ip"] = a[1]["ip"]; 
loggedAccounts[id]["activated"] = a[1]["activated"]; 

Am I doing something wrong? All values returns correct things.

Error is:

attempt to index field '?' (a nil value )

on line

loggedAccounts[id]["username"] = username; 

As I said, everything return correct values and table 'loggedAccounts' exist.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...