rn// ============
rn//
rn// This Plugin is for Day of Defeat ONLY!
rn// It warns/punishes snipers that kill enemies (and team mates) with
rn// their sniper-rifle without using the scope.
rn// It's useful to prevent cheating snipers that mark the center
rn// of the screen (or use special custom crosshairs) from using their
rn// one-shot-kill rifles in close combat and for distance shots
rn// without needing the time for bringing up the scope.
rn
rn
// USAGE (cvars for amxx.cfg):rn// ===========================rn//rn// dod_antinoscope 1 = enable the plugin by defaultrn//rn// antinoscope_warnings = amount of warnings a no-scoper getsrn// before punishing him.rn// (set to 0 for instant punishment)rn//rn// antinoscope_mode <0/1/2/3> = punishment after exceeding warnings:rn// - Slap (mode 0)rn// - Slay (mode 1)rn// - Kick (mode 2)rn// - Ban (mode 3)rn//rn// antinoscope_slapdmg = sets the amount of damage a user takesrn// from being slapped (mode 0)rn//rn// antinoscope_bantime = sets the time in minutes to ban arn// no-scoper (mode 3)
rn
rn
// CHANGELOG:rn// ==========rn//rn// - 27.07.2004 Version 1.0arn// Initial Releasern//rn// - 02.08.2004 Version 1.0brn// As requested by some people, you have two options on how to let thern// plugin react on no-scopers now.rn// 1. the plugin just tells the no-scoper that it is forbidden and thatrn// he/she has a pistol and a knife for close combat.rn// 2. the plugin slays the no-scoper after he/she killed another playerrn// and globally announces it.rn// Change the line "//#define KILL_NOSCOPER" to "#define KILL_NOSCOPER"rn// if you prefer the no-scoper to be slayed.rn// Leave it as it is if you just want to warn him/her to stop it.rn//rn// - 05.08.2004 Version 1.0crn// As requested, i did another change and removed the standardrn// "warn only"-mode and replaced it with 2 warnings, suicidern// on 3rd warning and kick after 4th no-scoped kill.rn// i think that was what most of you wanted.rn// but you can still use the "slay on no-scoped kill"-mode if you like,rn// then just change "//#define KILL_NOSCOPER" to "#define KILL_NOSCOPER".rn// if you want to use the "warn and kick"-mode leave the file as is.rn//rn// - 27.09.2004 Version 2.0arn// updated the plugin to use DoDx functions,rn// so it will run a bit smootherrn//rn// - 16.10.2004 Version 2.0b (still beta :P)rn// added a cvar to enable/disable the pluginrn//rn// - 07.11.2004 Version 2.0c betarn// this is a big update, as the plugin can be totallyrn// changed to your needs now!rn// added features:rn// * definable amount of warnings (instant action possible as well)rn// * definable action after reaching X/X warnings:rn// - slap (damage definable)rn// - slayrn// - kickrn// - ban (bantime definable)

