Posted 24 November 2012 - 06:30 AM
EDIT: actually, nvm I found the problem.
getting nil from this code should be impossible… errors tell me it isn't
error:
the table "users" in self should be defined, but it was bugging so I tried to catch the bugs… still doesn't work.
getting nil from this code should be impossible… errors tell me it isn't
95: local users = self.users
96: if users == nil then users = {} end
97: users[name] = { id, {} }
98: self.users = users
error:
APINAME:97: table index expected, got nil
the table "users" in self should be defined, but it was bugging so I tried to catch the bugs… still doesn't work.