I don't understand why these lines work
changeentityproperty(self, "nopain", 1);
changeentityproperty(self, "nodrop", 1);
but not this one
changeentityproperty(self, "knockdowncount", 1);
It makes the engine exit.
Do you have an idea what is wrong, please?