
1. How can you check if a player presses F1?
I know how to check if a player presses +melee etc, but now how to check if he presses F1 or F2.
2. How can you set it that when you hit a player (in his hand for example) he always dies?
I tried it with self.maxhealth = 20;
But then you get the effect when you got injured, the red flashing screen and the sound effect.