You're trying to access an array's element. PlayerID being the subscript. What RealCop posted is correct. Seeing as you had that wrong, did you declare the variable properly? Are you setting it properly as well?
Also, I thought you would want to return true instead of false?