Looks nice.
PHP Code:
if (StrContains(sample, "pain", false) && bHideDeath[iEntity])
StrContains doesn't return a bool, it returns a position in the string where the sample is contained, and -1 on failure. Are you trying to do this instead?
PHP Code:
if (StrContains(sample, "pain", false) != -1 && bHideDeath[iEntity])
__________________