I have 2 questions. I hope someone can and wants to help me
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.
F1 pressed + 1 shot kill
Moderator: Core Staff
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: F1 pressed + 1 shot kill
1. Not possible.Moustache wrote:I have 2 questions. I hope someone can and wants to help me
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.
2. Inside the "playerDamage(" function you could add:
iDamage = self.health;
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: F1 pressed + 1 shot kill
Ok, thanks.Drofder2004 wrote:1. Not possible.Moustache wrote:I have 2 questions. I hope someone can and wants to help me
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.
2. Inside the "playerDamage(" function you could add:
iDamage = self.health;
Who is online
Users browsing this forum: No registered users and 37 guests