View Single Post
Author Message
Agiel
Junior Member
Join Date: Jan 2010
Old 01-31-2010 , 07:28   [NT] Kill Assists
Reply With Quote #1

Wanted to get into plugin coding so I wrote this fairly simple plugin for Neotokyo.

By default it gives one point to anyone who deals more than 50 damage to an enemy without getting the kill. It's written to calculate who did the most damage so it's possible to set the damage threshold lower than 50. There is also an option to only give a half point for a kill assist, so to make it TF2 style you'd set the damage threshold to 1 and give a half point.

sm_nt_assist_enabled - Enables or disables kill assist points. (Default 1)
sm_nt_assist_damage - How much damage needed to score a kill assist. (Default 50, Min 1, Max 99)
sm_nt_assist_half - Whether to give one point or just a half. (Default 0)
sm_nt_assist_notifications - Whether to send a chat notification to the player receiving the assist point. (Default 1)

Changelog
1.0.0
* Initial release.
1.0.1
* Added log message for HLX:CE support etc.
Attached Files
File Type: sp Get Plugin or Get Source (nt_assist.sp - 1174 views - 6.3 KB)

Last edited by Agiel; 02-01-2010 at 15:58.
Agiel is offline