07.08.2010, 22:40
The 'i' you are referring to in your if-statement is the weapon slot, not the weapon itself.
The weapon id is stored in the third variable, which is - in this case - weapons[i][0].
The weapon id is stored in the third variable, which is - in this case - weapons[i][0].

