Anyone know the hitzone bytes? I found this list:
Quote:
1 - generic
2 - head
4 - chest
8 - stomach
16 - left arm
32 - right arm
64 - left leg
128 - right leg
|
but it is incorrect, because I cought the damage event and did a point black deagle shot to the head for 182 dmg, and no msg saying congratz on the hs u got x bonus experience... but in a random firefight i got the message, so obviously there is somthing wrong with the hitzones.
Code:
//bonus exp for HITTING target
if (HitZone == 2)
{
HitExp += 4
//tell player
client_print(Enemy,print_chat,"You are awarded 4 bonus exp for a headshot!")
}
And, sorta off topic but how big is a "integer" in small? like if itype new myvar what's the max value myvar can hold before crashing? thanx.
__________________
"What then is truth? Truths are illusions which we have forgotten are illusions - they are metaphors that have become worn out... this (truth) is the duty to lie according to a fixed convention.
-Friedrich Nietzsche