Raised This Month: $ Target: $400
 0% 

No recoil problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
GAARA54
Veteran Member
Join Date: Oct 2009
Location: Everywhere
Old 11-13-2011 , 06:35   Re: No recoil problem
Reply With Quote #3

i need this function not for weapon plugin. for no recoil plugin. (from weapon plugin to extra no recoil)
extra no recoil plugin with effect like second picture
for this:

PHP Code:
public fw_Weapon_PrimaryAttack_Post(entity)
{
    new 
id pev(entitypev_owner)

    if (
g_norecoil[id])
    {
        new 
Floatpush[3]
        
pev(idpev_punchanglepush)
        
xs_vec_sub(pushcl_pushangle[id], push)
        
xs_vec_mul_scalar(push0.0push)
        
xs_vec_add(pushcl_pushangle[id], push)
        
set_pev(idpev_punchanglepush)
        return 
HAM_IGNORED;
    }
    return 
HAM_IGNORED;

__________________

Last edited by GAARA54; 11-13-2011 at 06:36.
GAARA54 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 08:26.


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