View Single Post
Author Message
psychocoder
Member
Join Date: Jan 2009
Location: Germany
Old 05-25-2009 , 07:58   [DODs,CSS, l4d] Showhits
Reply With Quote #1

The name of target/attacker, hit part of body, damage and distance between player shown in chat if a player is hit.
The message is shown to target and attacker.

NOW for DODs, CSS and l4d

Work with the new DODs update 08/2009.

Installation:
  • Copy showhits.smx to addons/sourcemod/plugins
  • type sm plugins refresh in server console
Configuration:

The next CVars must write in sourcemod.cfg or map config file
  • sv_showhits 1 - enable/disaple the plugin (0=off, 1=on, default: 1)
  • sv_showhits_attacker 1 - enable/disable that attacker see hits that he made (0=not see, 1=see, default: 1) (since Version 0.2.0)
Changelog:

Version 0.2.2 [2009-08-017]
fix bug in css and l4d

Version 0.2.1 [2009-08-02]
bugfix

Version 0.2.0 [2009-08-02]
new CVAR sv_showhits_attacker for diable that attacker see his hits
runs now under CSS - I have no CSS Server and can not test this, please give me a feadback

Version 0.1.9 [2009-06-07]
fix a bug that plugins always disabled (thanks FeuerSturm)

Version 0.1.8 [2009-06-06]
add CVAR to enable/disble plugin (sv_showhits)
change color of attaker message

Version 0.1.7 [2009-06-03]
fix bug that hitsgroups array out of bonce

Version 0.1.6 [2009-05-29]
bug fix (wrong Target message)

Version 0.1.5 [2009-05-26]
optimize chat message

Version 0.1.4 [2009-05-26]
fix a little bug

Version 0.1.3 [2009-05-25]
the first release to community
Attached Files
File Type: sp Get Plugin or Get Source (showhits.sp - 3471 views - 6.1 KB)

Last edited by psychocoder; 08-17-2009 at 02:33. Reason: add new version
psychocoder is offline