Raised This Month: $51 Target: $400
 12% 

Anti Zoom .sma


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lantimilan
Senior Member
Join Date: May 2016
Old 03-01-2017 , 15:45   Anti Zoom .sma
Reply With Quote #1

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 
1client_cmd(id,"drop"
case 
2client_cmd(id,"invprev")
case 
3user_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 
1client_cmd(id,"drop"
case 
2client_cmd(id,"invprev")
case 
3user_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 

lantimilan is offline
Send a message via MSN to lantimilan
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode