Gun damage float values?
#1

Does anyone know if someone has compiled a list of how much damage each gun does per hit?
Reply
#2

I have from most common weapons

Код:
#define WEAPON_DAMAGE_DEAGLE    46
#define WEAPON_DAMAGE_SHOTGUN    3
#define WEAPON_DAMAGE_SPAS12     3
#define WEAPON_DAMAGE_MP5        8
#define WEAPON_DAMAGE_M4        10
#define WEAPON_DAMAGE_AK47      10
#define WEAPON_DAMAGE_SNIPER    41
#define WEAPON_DAMAGE_RIFLE     25
Took it out from my code.
Reply
#3

Quote:
Originally Posted by MaTrIx4057
Посмотреть сообщение
I have from most common weapons

Код:
#define WEAPON_DAMAGE_DEAGLE    46
#define WEAPON_DAMAGE_SHOTGUN    3
#define WEAPON_DAMAGE_SPAS12     3
#define WEAPON_DAMAGE_MP5        8
#define WEAPON_DAMAGE_M4        10
#define WEAPON_DAMAGE_AK47      10
#define WEAPON_DAMAGE_SNIPER    41
#define WEAPON_DAMAGE_RIFLE     25
Took it out from my code.
Awesome. Thanks mate! (Rep+)
Reply
#4

I'm pretty sure that M4 and AK47 takes 9 on OnPlayerTakeDamage.
Reply
#5

MatrIx it's not true.

If you want to know the exact value of weapon damage, make a code like /health (with. GetPlayerHealth) and go IG. Ask to a player to shoot you 1 time with a weapon and after this shot, tape /health and see your health level.

If you have 64 for exemple, the weapon damage is 36.

Pay attention! The weapon damage is not the same on the body and on the head.

Good luck
Reply
#6

Why do you need to know them?
Reply
#7

Finn, don't post if you say things like that... He has his reasons^^
Reply
#8

Quote:
Originally Posted by mehdi-jumper
Посмотреть сообщение
He has his reasons^^
Indeed, like you can see in my previous post, I am curious what those reasons could be.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)