Train Knife Kill
I'll do my best to explain how I came up with this idea.
Okay I was playing in a knife server and heard the term being trained on 35hp. And from what I understand being trained is when players on the same team follow each other back to back just a like a train and kill people. Well I made plugin that detects this and adds a sound and chat message to this and also a deathmessage top right corner with a train symbol. If you have any suggestions please feel free to tell me.
Cvars ( 1=On || 0=Off )
- train_sound 1 //enables/disables sound
- train_message 1 //enables/disables message
- train_killangle 145 // 0-180 [Do Not change unless you know what you are doing.]
- kill angle helps detect train kill by checking what angle the killer has killed his victim at.
- The higher the angle the more direct the kill has to be.
train_punishment Default: Blind
- no //Turns punishment off
- off //Turns punishment off
- none //Turns punishment off
- slay //slays player
- kill //slays player
- slap //slaps player
- smack //slaps player
- drug //drugs player
- dope //drugs player
- blind //blinds player
- sightless //blinds player
[IMG]http://img818.**************/img818/607/trainkiller.jpg[/IMG]