Posts: 980
Threads: 152
Joined: Jan 2012
Reputation:
0
What is the damage by default or default of the coup d'йtat melee with the butt of a gun?
What is 2.64 ?
Posts: 980
Threads: 152
Joined: Jan 2012
Reputation:
0
What is the recoil damage with a firearm in the singleplayer?
With recoil I mean a melee hit with the butt of a gun.
In other words, my question is, what is the exact damage when striking with the back of a gun with bullets?
Well, can you explain it more clearly? From what you've said, it seems that you are asking a melee weapon hit the butt of a gun which makes no sense.
Posts: 340
Threads: 44
Joined: Feb 2012
Reputation:
0
What he is asking is what is the default damage when a player is standing to close to another player to shoot them, in wich point you get put in an elbow animation. I am not sure what the exact damage amount is, but you could simply test it with OnPlayerTakeDamage.
Posts: 980
Threads: 152
Joined: Jan 2012
Reputation:
0
T0pAz, you do not understand what I mean. When you have a weapon, you can shoot, but if you move closer, you can hit with the butt of the gun, then I would like to know exactly what is the harm in such a precise and accurate shot.
Posts: 980
Threads: 152
Joined: Jan 2012
Reputation:
0
The problem is that I have a script with OnPlayerTakeDamage well, the damage appears in message TextDraw and printf, but not the point, because it does not give you the exact damage, ie gives me 2 but not 2, is 2 and decimals, how do I get the decimal?
Posts: 980
Threads: 152
Joined: Jan 2012
Reputation:
0
I changed the %f with %d, and now, instead of appearing 2 to hit with the weapon appears 111018701 ...