I was messing with it originally, and player.chat only outputs the first entry, but echo() outputs all of them. Then the first time I stored it to a variable using
PHP Code:
for ( temp.i : players )
temp.i would return null, so it seems a little sketchy at some times, but after updating the weapon again it seemed to have fixed itself (lag?).