AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   No scope plugin (https://forums.alliedmods.net/showthread.php?t=295660)

semihkerim31 04-01-2017 06:10

No scope plugin
 
scout weapon and awp weapon no scope.

block open scope ?

Natsheh 04-01-2017 06:39

Re: No scope plugin
 
You can try to search

semihkerim31 04-01-2017 07:54

Re: No scope plugin
 
:( pls

LifeStone 04-01-2017 11:37

Re: No scope plugin
 
PHP Code:

#include <amxmodx>
#include <hamsandwich>
 
new HandleCvarNoScope;
 
public 
plugin_init()
{
    
register_plugin"UnZoom""1.0""Arkshine" );
 
    
HandleCvarNoScope register_cvar"amx_noscope""1" );
 
    
RegisterHamHam_Weapon_SecondaryAttack"weapon_awp""OnSniperSecondaryAttack" );
    
RegisterHamHam_Weapon_SecondaryAttack"weapon_scout""OnSniperSecondaryAttack" );
}
 
public 
OnSniperSecondaryAttack( const weapon )
{
    if( 
get_pcvar_numHandleCvarNoScope )  )
    {
        
ExecuteHamHam_Weapon_PrimaryAttackweapon );
        return 
HAM_SUPERCEDE;
    }
 
    return 
HAM_IGNORED;



semihkerim31 04-01-2017 12:30

Re: No scope plugin
 
thank you bro


All times are GMT -4. The time now is 18:00.

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