Hello,
I have this code and should give a point stored in a vault if it is headshot. More details down:
PHP Code:
new wpn, clip, ammo
wpn = get_user_weapon(iAttacker, clip, ammo)
if(iAttacker != iVictim && wpn == CSW_KNIFE )
{
if(g_iIsHeadshot)
{
pdData[iAttacker][Kills] += 1
pdData[iAttacker][Headshot] += 1
}
else
{
pdData[iAttacker][Kills] += 1
}
}
The problem is it count the kills, deaths, damage, but not the headshots.
See this picture:
Click for ScreenShot
__________________