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