You're misunderstanding the purpose of "static". It means just that unlike 'new', the variable is not initialized and the value will remain after the function is executed.
You don't need that in the current context.
You can read the Pawn Language Guide about static local declaration