Quote:
Originally Posted by Unkolix
Did it like this, everything works except he kill...
PHP Code:
new WeaponName[20]
new WeaponID = get_weaponid(WeaponName)
read_data(4, WeaponName, 19)
if (WeaponID == CSW_HEGRENADE) gs_stats[attacker][GS_HE]++;
|
I think you need to check WeaponName before getting weapon id.
If weaponname == "grenade" then here is your grenade kill