Deltanic Posted February 11, 2011 Share Posted February 11, 2011 Well, see this script. Currently, it should store one map file into the table. But, when I try to output the size of that table with #teleTable, it returns 0. What's wrong? I don't see any mistake. Note: This function is called by the client, with the local player as the source. Link to comment
Aibo Posted February 11, 2011 Share Posted February 11, 2011 #table works only for indexed tables, not dictionary-type tables. Link to comment
Deltanic Posted February 11, 2011 Author Share Posted February 11, 2011 Is there also any way to avoid that? Because dictionary tables are way easier to use than indexed, since you know what every key is and contains. Link to comment
Aibo Posted February 11, 2011 Share Posted February 11, 2011 as i recall only way to count is to iterate through it with pairs(). Link to comment
Deltanic Posted February 11, 2011 Author Share Posted February 11, 2011 K, I'll do that. Ty Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now