29.01.2014, 04:50
I would declare it as static stock (well maybe not stock, because you are going to end up using it which ends the point of declaring it as stock) in local scope because 1) static would declare it only once and 2) Suppose you read a file when a player connects and disconnects, and two players connect and disconnect at the same time, then it would cause some unwanted results. So, better to be safe! EDIT: Didn't see the reply above.