Damage display
Posted: Mon Apr 12, 2010 11:09 pm
Hey guys,
I was using the very small Damag Dispay scritp by Haze!
Only thing I've changed is that I replace the hudhint with a centermsg.
This 26 line script works, but in console I keep getting erros as seen below.
Is there someone who could fix a script like this one? I'd be very thankful!
Greetings,
LuBJe!
I was using the very small Damag Dispay scritp by Haze!
Only thing I've changed is that I replace the hudhint with a centermsg.
This 26 line script works, but in console I keep getting erros as seen below.
Is there someone who could fix a script like this one? I'd be very thankful!
Traceback (most recent call last):
File "C:\srcds\cstrike\addons\eventscripts\es.py", line 204, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "C:\srcds\cstrike\addons\eventscripts\damagedisplay\damagedisplay.py", li
ne 21, in player_hurt
dmgdisplay_players[attacker] += damage
KeyError: '0'
File "C:\srcds\cstrike\addons\eventscripts\es.py", line 204, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "C:\srcds\cstrike\addons\eventscripts\damagedisplay\damagedisplay.py", li
ne 21, in player_hurt
dmgdisplay_players[attacker] += damage
KeyError: '0'
Greetings,
LuBJe!