Firestorm
07-09-2006, 11:14 AM
// FEATURES:
// =========
//
// - All Players are given a sniper rifle with infinite ammo.
// (Axis get the Scoped Kar and Allies the Springfield, BUT
// Brits will get the Scoped Kar as well, as the Scoped Enfield
// is not valid!)
// - Axis are glowing red and allies (americans & brits) are glowing green.
// (definable with cvar)
// - Using the scope is disabled, so everyone has to
// shoot unscoped.
// - a HUD message is shown to all players that the
// "Sniper Fun Mode" is enabled and that scopes are disabled
// on first respawn.
// - Works on all maps, Axis, Americans & Brits.
// - Works for players that joined the server after you turned on
// the "Sniper Fun Mode" as well.
//
//
// INSTALLATION:
// =============
//
// Requires AMX Mod X 1.0, Engine, Fun, DoDx and DoDFun modules!
//
// Just be sure that your server is running the above modules, compile
// the plugin, add it to your plugins.ini and restart the map!
// USAGE:
// =====
//
// amx_sniperfun <1/0> = enable/disable SniperFun Mode on
//
// dod_sniperfun 1 = enable by default (cvar for amxx.cfg)
//
// sniperfun_allowvotes <1/0> = allow/disallow votings (cvar for amxx.cfg)
// (admins with flag "j" can always vote)
//
// sniperfun_glowplayers <1/0> = enable/disable players glowing in their
// team's color (cvar for amxx.cfg)
//
// say /votesniperfun = start a vote to enable/disable SniperFun Mode
// CHANGELOG:
// ==========
//
// - 06.08.2004 Version 1.0a
// Initial Release
//
// - 16.09.2004 Version 2.0a
// General re-write to use
// AMXX 0.20 and DoD modules
// features and a voting system
//
// - 27.09.2004 Version 2.0b
// updated and optimized the code
//
// - 28.09.2004 Version 2.0c
// added feature:
// players can't drop their sniper rifle.
// this is to prevent people from dropping
// their weapon after respawn before it's
// changed to the sniper rifle.
//
// - 17.10.2004 Version 2.0d
// changed feature:
// using engine module to deactivate scope
// immediately after it was brought up.
// player will be slowed down until he shoots
// or presses his secondary fire button again.
//
// - 26.10.2004 Version 2.0e
// added feature:
// now when a player tries to bring up the scope,
// he will not be slowed down like the scope was up.
// his screen will just get black for half a second
// but he can move on like normal.
//
// - 07.11.2004 Version 2.0f
// * added a cvar to alow/disallow votings
// for public players.
// Note: Admins with level ADMIN_VOTE
// can always start a vote!
//
// - 12.12.2004 Version 2.0g
// * optimized the plugin and removed the countdown
// and voice announcements
// * fixed some minor bugs
// * added cvar to allow to glow players in their
// team's color when SFM is running.
// =========
//
// - All Players are given a sniper rifle with infinite ammo.
// (Axis get the Scoped Kar and Allies the Springfield, BUT
// Brits will get the Scoped Kar as well, as the Scoped Enfield
// is not valid!)
// - Axis are glowing red and allies (americans & brits) are glowing green.
// (definable with cvar)
// - Using the scope is disabled, so everyone has to
// shoot unscoped.
// - a HUD message is shown to all players that the
// "Sniper Fun Mode" is enabled and that scopes are disabled
// on first respawn.
// - Works on all maps, Axis, Americans & Brits.
// - Works for players that joined the server after you turned on
// the "Sniper Fun Mode" as well.
//
//
// INSTALLATION:
// =============
//
// Requires AMX Mod X 1.0, Engine, Fun, DoDx and DoDFun modules!
//
// Just be sure that your server is running the above modules, compile
// the plugin, add it to your plugins.ini and restart the map!
// USAGE:
// =====
//
// amx_sniperfun <1/0> = enable/disable SniperFun Mode on
//
// dod_sniperfun 1 = enable by default (cvar for amxx.cfg)
//
// sniperfun_allowvotes <1/0> = allow/disallow votings (cvar for amxx.cfg)
// (admins with flag "j" can always vote)
//
// sniperfun_glowplayers <1/0> = enable/disable players glowing in their
// team's color (cvar for amxx.cfg)
//
// say /votesniperfun = start a vote to enable/disable SniperFun Mode
// CHANGELOG:
// ==========
//
// - 06.08.2004 Version 1.0a
// Initial Release
//
// - 16.09.2004 Version 2.0a
// General re-write to use
// AMXX 0.20 and DoD modules
// features and a voting system
//
// - 27.09.2004 Version 2.0b
// updated and optimized the code
//
// - 28.09.2004 Version 2.0c
// added feature:
// players can't drop their sniper rifle.
// this is to prevent people from dropping
// their weapon after respawn before it's
// changed to the sniper rifle.
//
// - 17.10.2004 Version 2.0d
// changed feature:
// using engine module to deactivate scope
// immediately after it was brought up.
// player will be slowed down until he shoots
// or presses his secondary fire button again.
//
// - 26.10.2004 Version 2.0e
// added feature:
// now when a player tries to bring up the scope,
// he will not be slowed down like the scope was up.
// his screen will just get black for half a second
// but he can move on like normal.
//
// - 07.11.2004 Version 2.0f
// * added a cvar to alow/disallow votings
// for public players.
// Note: Admins with level ADMIN_VOTE
// can always start a vote!
//
// - 12.12.2004 Version 2.0g
// * optimized the plugin and removed the countdown
// and voice announcements
// * fixed some minor bugs
// * added cvar to allow to glow players in their
// team's color when SFM is running.