Have you ever had a server rule that no one followed no matter how obvious it was?
I do. I have a rule(No matter what map) that the last person on each team(1 CT and 1 T) have to knife each other or on a bomb map the T has to plant the bomb(if not planted already) AND knife.
Well, people dont seem to either 1. Listen 2. Learn Or they like being slayed
So I automated the process.
It started out as my own code but asked for advice on it here
and VEN was kind enough to fix it.
The problem was that sometimes someone could get one shot off before being switched to knife and c4 wouldnt always plant. That has been fixed.
I have added the sound that I use with this plugin(theme from the good, bad, ugly). All you have to do is place it in the correct folder. Enjoy.
Its my first plugin(Very simple) and I hope others find it useful.
Credits given to VEN for the help here