title: Error: attempt to index field '?' (a nil value)
body: <p>I get the following error in my Lua code:</p>
  
  <blockquote>
    <p>attempt to index field '?' (a nil value)</p>
  </blockquote>
  
  <p>It happens on the line below in bold. How can I fix it?</p>
  
  <pre><code>function SendMessageToAdmins(color1, color2, color3, msg)
      for i = 0, maxSlots - 1 do
          <b>if Account[i] and Account[i].Admin >= 1 or Account[i] and Account[i].GameMaster >= 1 then</b>
              SendPlayerMessage(i, color1, color2, color3, string.format("%s", msg))
          end
      end
  end</code></pre>