GitHub: https://github.com/qPexLegendary/CircleDamageIndicator
Screenshot:

Ayuto wrote:Very cool stuff!
Just one note: the PluginInfo class isn't meant to be created by the plugin. It's being created by SP, so it's also possible to retrieve information about unloaded plugins. To tell SP which information the instance should contain, you can create an info.ini file:
http://wiki.sourcepython.com/developing ... plugininfo
Code: Select all
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\packages\source-python\events\listener.py", line 92, in fire_game_event
callback(game_event)
File "..\addons\source-python\plugins\circle_damage_indicator\circle_damage_indicator.py", line 54, in on_damage
color1=Color(*color.get_as_tuple),
OverflowError: can't convert negative value to unsigned int
cssbestrpg wrote:I have the tested plugin in css. I noticed it gives the errors when did shoot enemy:Code: Select all
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\packages\source-python\events\listener.py", line 92, in fire_game_event
callback(game_event)
File "..\addons\source-python\plugins\circle_damage_indicator\circle_damage_indicator.py", line 54, in on_damage
color1=Color(*color.get_as_tuple),
OverflowError: can't convert negative value to unsigned int
Users browsing this forum: Bing [Bot] and 76 guests