Quote:
Originally Posted by zXCaptainXz
g_he_attacker
g_count_victim_zombie/g_count_victim_human
What is the point of these variables?
Code:
g_fDamage_Human[victim][attacker] >= g_hp_victim[victim]
You are comparing a float to an integer, IDK if that even works in AMXX.
|
g_count_victim_zombie/g_count_victim_human detects if the attacker has more than one assist, since when resetting the variables I only need to subtract the value to 1 for each dead victim (this way even if the variable is reset, he will still have more assists thanks to this variable)
g_he_attacker makes it so that if the attacker gets an assist and he kills the victim, all of his variables are reset, otherwise they will also be counted as assists (I could have also made a return for this)