Raised This Month: $ Target: $400
 0% 

How to fast reload & shoot ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 05-10-2011 , 15:09   How to fast reload & shoot ?
Reply With Quote #1

Title ?

I tried with:
PHP Code:
#include < amxmodx >
#include < hamsandwich >
#include < fakemeta >

#define m_fInReload 54
#define m_fAttack 83
#define m_Linux 4
//#define m_fInSpecialReload 55

#define MAX_PLAYERS 32

const NO_RELOAD = ( << ) | ( << CSW_KNIFE ) | ( << CSW_C4 ) | ( << CSW_M3 ) | ( << CSW_XM1014 ) | ( << CSW_HEGRENADE ) | ( << CSW_FLASHBANG ) | ( << CSW_SMOKEGRENADE )

new 
g_iHasMAX_PLAYERS+]

public 
plugin_init() 
{
    new 
szWeaponName20 ]
    for( new 
CSW_P228<= CSW_P90i++ ) 
    {
        if( 
NO_RELOAD & (1<<i) )
            continue
            
        
get_weaponnameiszWeaponNamecharsmaxszWeaponName ) )
        
RegisterHamHam_Weapon_ReloadszWeaponName"FwdHamWeaponReload" )
    }
    
    
register_clcmd"get""get" )
}

public 
getid )
{
    
g_iHasid ] = !g_iHasid ]
}

public 
FwdHamWeaponReload( const iWeapon 
{
    static 
id
    id 
peviWeaponpev_owner )
    
    if( 
id && g_iHasid ] && is_user_aliveid ) && get_pdata_intiWeaponm_fInReloadm_Linux ) ) 
    {
        
set_pdata_floatiWeaponm_fInReload0.0m_Linux )
        
set_pdata_floatiWeaponm_fAttack0.0m_Linux )
    }

Doesn't work on linux server.
dFF is offline
 



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 04:31.


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