rn// ============
rn//
rn// This Plugin is for Day of Defeat ONLY!
rn//
rn// This plugin is meant to "punish" campers:
rn// - it makes the specified camper glow blue
rn// - he/she can only use the knife/spade
rn// - campers health is set to 1hp
rn// - lose 1 kill per respawn
rn// - picked up weapons are removed
rn//
rn// (Note: even after the camper died and respawned
rn// all the above features are still active
rn// on him/her until you remove them from him/her.)
rn//
rn// With removing the "punishment" from the camper
rn// all will be normal again:
rn// - camper doesn't glow anymore
rn// - he/she can use all weapons again
rn// - campers health is set to 100hp
rn// - not losing kills anymore
rn
rn
// USAGE:rn// ======rn//rn// amx_cpunish= set camper to glow / knife&spade /rn// 1hp / steal 1 kill every respawnrn//rn// amx_nocpunish = set camper back to normal
rn
rn
// CHANGELOG:rn// ==========rn//rn// - 25.07.2004 Version 1.0arn// Initial Releasern//rn// - 25.07.2004 Version 1.0brn// - removed "weapon_knife" as it's not a valid DoD weaponrn// (thanks to SidLuke for pointing that out)rn// - cleaned the code a bit and removed the useless taskrn// to set campers health to 1hp and replaced it withrn// setting his health to 1 after respawn.rn// that should save some cpu usage.rn//rn// - 27.07.2004 Version 1.0crn// - when "unpunished", camper automatically switches backrn// to his/her primary gun.rn// - added a hud message that reminds the camper of capturingrn// the flags after he died and respawned.rn//rn// - 16.08.2004 Version 1.0drn// - fixed new campers set to melee onlyrn// if they joined after a punished camperrn// left without being unpunished.rn//rn// - 27.09.2004 Version 2.0arn// - optimized for amxx 0.20 and DoDx and DoDFun modulern// saving a lot of cpu usage with removingrn// the task to change to knife every 0.1 secondsrn// as the punished camper will only have a knife.rn// - added new feature:rn// punished camper's kills are decreased by 1 everytimern// he/she respawns until you "unpunish" him/her.rn//rn// - 28.09.2004 Version 2.0brn// - "punished" campers are still able to pick up weapons from the ground,rn// so here's the deal:rn// if they attack someone with a gun, the camper will get the health backrn// that was reduced by the attacker and the attacker's gun is removedrn// again.rn//rn// - 28.09.2004 Version 2.0crn// - "punished campers can pickup weapons, but drop them again immediately,rn// so they can't shoot anyone. and it's fun to see them run after the gunsrn// and try to pick them up, but drop them again :Prn//rn// - 14.10.2004 Version 2.0d (still beta :P)rn// - again changed the way the plugin handles weapon pickups:rn// the camper will get the gun totally removed and gets a knife/spadern// again.rn//rn// - 21.11.2004 Version 2.0ern// - general re-write of the plugin to optimize it a bitrn// - added check if player is already punished/normalrn// - added protection for admins with a reserved slot fromrn// being punished by other admins

