Raised This Month: $ Target: $400
 0% 

Shot on ATTACK2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
The Inhabitant Of Heavens
Member
Join Date: Aug 2011
Old 10-24-2011 , 17:42   Shot on ATTACK2
Reply With Quote #1

How to make a shot at ATTACK2?

weapon_xm1014

PHP Code:
public fw_CmdStart(iduc_handleseed)
{
    if ((!
is_user_alive(id) )
        return 
FMRES_IGNORED

    
if (get_user_weapon(id) == CSW_XM1014)
    {
        if ((
get_uc(uc_handleUC_Buttons) & IN_ATTACK2) && !(pev(idpev_oldbuttons) & IN_ATTACK2))
        {
            new 
xm1014 find_ent_by_owner(-1"weapon_xm1014"id)
            
ExecuteHam(Ham_Weapon_PrimaryAttackxm1014)
        }
    }
    return 
FMRES_HANDLED

This is not working
The Inhabitant Of Heavens 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 14:20.


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