21 Nov 11, 05:11AM
(27 Jun 11, 10:42PM)macm Wrote: A simple script to check the damage you made with a grenade:
example:
Grenade Damage: 98
Grenade Damage: 143
Grenade Damage: 32
[SELECT ALL] Code://add the alias to the altaction or your grenade key
alias altaction_8 [quicknadethrow; nade_hit_msg ]
alias nade_hit_msg [
last_nade_dmg = (at (pstat_weap (findcn $curname)) 17);
sleep 3000 [
new_nade_dmg = (at (pstat_weap (findcn $curname)) 17);
nade_made_dmg = (- $new_nade_dmg $last_nade_dmg)
if (> $nade_made_dmg 0) [echo (concat "3Grenade Damage:" $nade_made_dmg)]
]]
I've pasted that ^ into my autoexec file and I've got tools.cfg. I still can't get it to work. :(
Can you help?