Hi how to find one version i have photo how look :
http://prntscr.com/eeu0w7
Who can help to post .sma ?
PHP Code:
/* AMXModX script
*
* Anti-zoom plugin by ArtAttack
*
* This plugin prevents all players from using the zoom of weapons such as AWP,...
* If a player wants to use the zoom, he will drop his primary weapon.
*
* Thanks to St3AmEr
*
*/
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
public zoom(id) {
if (get_cvar_num("sv_antizoom") == 1) {
if ( is_user_alive(id) ) {
new unzoom = get_cvar_num("sv_unzoom")
switch(unzoom) {
case 1: client_cmd(id,"drop")
case 2: client_cmd(id,"invprev")
case 3: user_slap(id,5,1)
}
}
return PLUGIN_HANDLED
}
}
public plugin_init() {
register_plugin("anti-zoom", "1.0", "ArtAttack")
register_event("SetFOV","zoom","b","1<90")
register_cvar("sv_antizoom", "0", FCVAR_SERVER) // Enable the anti-zoom plugin with "1"
register_cvar("sv_unzoom", "1", FCVAR_SERVER) // "1" for dropping weapon, "2" for changing weapon instead of zoom, "3" for a 5 slap with the zoom use
return PLUGIN_CONTINUE
}
/* AMXModX script
*
* Anti-zoom plugin by ArtAttack
*
* This plugin prevents all players from using the zoom of weapons such as AWP,...
* If a player wants to use the zoom, he will drop his primary weapon.
*
* Thanks to St3AmEr
*
*/
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
public zoom(id) {
if (get_cvar_num("sv_antizoom") == 1) {
if ( is_user_alive(id) ) {
new unzoom = get_cvar_num("sv_unzoom")
switch(unzoom) {
case 1: client_cmd(id,"drop")
case 2: client_cmd(id,"invprev")
case 3: user_slap(id,5,1)
}
}
return PLUGIN_HANDLED
}
}
public plugin_init() {
register_plugin("anti-zoom", "1.0", "ArtAttack")
register_event("SetFOV","zoom","b","1<90")
register_cvar("sv_antizoom", "0", FCVAR_SERVER) // Enable the anti-zoom plugin with "1"
register_cvar("sv_unzoom", "1", FCVAR_SERVER) // "1" for dropping weapon, "2" for changing weapon instead of zoom, "3" for a 5 slap with the zoom use
return PLUGIN_CONTINUE
}