Raised This Month: $ Target: $400
 0% 

fast zoom


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bos93
Veteran Member
Join Date: Jul 2010
Old 07-06-2013 , 16:36   Re: fast zoom
Reply With Quote #5

PHP Code:
#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >

#define PLUGIN_NAME "New-Plugin"
#define PLUGIN_VERSION "0.0.0.1"
#define PLUGIN_AUTHOR "x"

#define MAX_CLIENTS 32

new Float:g_flFastShotMAX_CLIENTS +];

public 
plugin_init()
{
    
register_plugin 
    

        
PLUGIN_NAME
        
PLUGIN_VERSION
        
PLUGIN_AUTHOR
    
);

    
RegisterHamHam_Weapon_SecondaryAttack"weapon_awp""CBaseWeapon_SecondaryAttack_Pre", .Post false );
    
RegisterHamHam_Killed"player""CBasePlayer_Killed_Pre", .Post false );
}

public 
CBaseWeapon_SecondaryAttack_PrepEntity )
{
    if( 
pev_validpEntity ) != )
    {
        return 
HAM_IGNORED;
    }

    
g_flFastShotget_pdata_cbasepEntity 41 ) ] = get_gametime( ) + 1.0;

    return 
HAM_IGNORED;
}

public 
CBasePlayer_Killed_PrepVictimpKiller )
{
    if( !
is_user_alivepKiller ) )
        return 
HAM_IGNORED;

    if( 
g_flFastShotpKiller ] >= get_gametime( ) )
    {
        
client_print0print_chat,  "Fast Shot.." );
    }

    return 
HAM_IGNORED;

__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
 



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 06:23.


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