StringToInt() returns an integer and you are comparing that to a string. It says that "frozen" shoule be index because it is an array and you can't compare an array to an integer.
BTW, you should post in the SourceMod section. This section is for AMX Mod X.