Don’t stay zoomed more than 3 sec.
With this plugins you can block the player to stay zommed more than 3 seconds.

.

.
Installation;
- 1. “antizoomed.amxx” file in the / plugins folder.
- 2. Add “antizoomed.amxx” text to the bottom line of the plugins.ini file.
- 3. Finally, reset the server, or change the map.!
you can change drop zoomed seconds edit this #define MAX_ZOOM_TIME 3.0
.
#include <amxmodx>
#define PLUGIN_VERSION "1.0"
#define TASK_ZOOM 123987
#define MAX_ZOOM_TIME 3.0
public plugin_init()
{
register_plugin("Max Zoom Time", PLUGIN_VERSION, "OciXCrom")
register_cvar("CRXZoomTime", PLUGIN_VERSION, FCVAR_SERVER|FCVAR_SPONLY|FCVAR_UNLOGGED)
register_event("SetFOV", "OnSetFOV", "b")
}
public OnSetFOV(id)
{
if(get_user_weapon(id) != CSW_AWP)
return
if(read_data(1) < 90)
set_task(MAX_ZOOM_TIME, "DropWeapon", id + TASK_ZOOM)
else remove_task(id + TASK_ZOOM)
}
public DropWeapon(id)
{
id -= TASK_ZOOM
client_cmd(id, "drop")
client_print(id, print_center, "You can't stay zoomed more than %.0f seconds.", MAX_ZOOM_TIME, id)
}.
Related Posts:Amxx Autoresponder / Advertiser
TOP PLUGINSServer Ip Ad Blocking
PUBLIC PLUGINSAmxx Grenade Trail
TOP PLUGINSAmxx Spectator Bot
TOP PLUGINSAMXX Simple Swear Filter
TOP PLUGINSKill Assist
TOP PLUGINSAmxx 16vs16 on Map
TOP PLUGINSWeapon Back Plugin
TOP PLUGINSAmxx No Team Flash
TOP PLUGINSGranade Molotov for Counter-Strike 1.6
TOP PLUGINSAdmin Spectator ESP plugin (version 1.3) for cs 1.6
TOP PLUGINSTop15 [top3 with colors and cups]
TOP PLUGINS
Amxx Autoresponder / Advertiser
TOP PLUGINS
Server Ip Ad Blocking
PUBLIC PLUGINS
Amxx Grenade Trail
TOP PLUGINS
Amxx Spectator Bot
TOP PLUGINS
AMXX Simple Swear Filter
TOP PLUGINS
Kill Assist
TOP PLUGINS
Amxx 16vs16 on Map
TOP PLUGINS
Weapon Back Plugin
TOP PLUGINS
Amxx No Team Flash
TOP PLUGINS
Granade Molotov for Counter-Strike 1.6
TOP PLUGINS
Admin Spectator ESP plugin (version 1.3) for cs 1.6
TOP PLUGINS
Top15 [top3 with colors and cups]
TOP PLUGINS