1. Post #1
    Gold Member
    cis.joshb's Avatar
    January 2011
    1,872 Posts
    Would it be more efficient if one created one table of players and added to it and took from it when people joined and left, instead of generating it every time we call this?
    Also, in a for loop if the value is nil (like you have set it to nil) it skips it, right?
    It does. Tested easily thanks to: http://www.lua.org/cgi-bin/demo

  2. Post #2

    May 2010
    119 Posts
    How did you find out it's generated every time it's called?

  3. Post #3
    Gold Member
    cis.joshb's Avatar
    January 2011
    1,872 Posts
    Actually, you're right. . .It may not be.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 1 (list)