Raised This Month: $ Target: $400
 0% 

Right attack AnimExtention


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 03-03-2014 , 22:33   Right attack AnimExtention
Reply With Quote #1

Hi .

As achieving attack2(Right) in dualpistols AnimExtention


PHP Code:
public fw_primary_attack(weapon_ent)
{
    if(
pev_valid(weapon_ent) != 2)
        return 
HAM_IGNORED
        
    
static id
    id 
get_pdata_cbase(weapon_entOFFSET_WEAPONOWNEROFFSET_LINUX_WEAPONS);
    
    
// is that correct?
    
set_pdata_int(idm_ActivityACT_RANGE_ATTACK2
    
set_pdata_int(idm_IdealActivityACT_RANGE_ATTACK2)
    
    return 
HAM_IGNORED
}

public 
fw_Item_Deploy_Post(weapon_ent)
{
    if(
pev_valid(weapon_ent) != 2)
        return

    static 
id
    id 
get_pdata_cbase(weapon_entOFFSET_WEAPONOWNEROFFSET_LINUX_WEAPONS);


    
entity_set_string(idEV_SZ_viewmodelmodel_v_test)
    
entity_set_string(idEV_SZ_weaponmodelmodel_p_test)

    
set_pdata_string(idm_szAnimExtention 4"dualpistols", -1XO_PLAYER 4)

Sorry for my English.
__________________

Last edited by Destro-; 03-03-2014 at 22:34.
Destro- 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 05:55.


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