Raised This Month: $ Target: $400
 0% 

recoil


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombieplague
Veteran Member
Join Date: Apr 2009
Old 06-21-2010 , 15:06   recoil
Reply With Quote #1

anyone know how to stop the screen from shaking when i shoot ?

PHP Code:
public plugin_init( )
{
    
register_forwardFM_TraceLine"FM_traceline_hook")
}

set_pevidpev_punchangleFloat:{ 0.00.00.0 } ) 

public 
FM_traceline_hookFloat:blah1], Float:blah2], blah3id 

    if ( 
is_user_aliveid ) && g_iRecoilid ] ) 
    { 
        static 
vec1], Float:vec2
        
get_user_originidvec1
        
vec2] = floatvec1] ) 
        
vec2] = floatvec1] ) 
        
vec2] = floatvec1] ) 
        
set_trTR_vecEndPos,vec2 
    } 

zombieplague is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 06-21-2010 , 16:48   Re: recoil
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=88328
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Reply



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:54.


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