Raised This Month: $ Target: $400
 0% 

No Recoil Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombieplague
Veteran Member
Join Date: Apr 2009
Old 03-18-2010 , 02:52   No Recoil Problem
Reply With Quote #1

I try to search alot of i have a problem:

PHP Code:
#include < amxmodx >
#include < amxmisc >
#include < fakemeta >

public plugin_init( )
{
    
register_plugin"No Recoil" "1.0""asd" )
}

public 
client_PreThink(id
{
    if ( !
is_user_adminid ) )
             return
    
    
set_pevidpev_punchangleFloat:{ 0.00.00.0 } )

How to i prevent the screen from shaking ?
zombieplague is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-18-2010 , 03:10   Re: No Recoil Problem
Reply With Quote #2

client_PreThink is an engine forward, add :

#include <engine>
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 03-18-2010 , 07:07   Re: No Recoil Problem
Reply With Quote #3

I do not think you can prevent the screen from shaking. This is also a problem with a Superhero called Agent Zero. Well. It is impossible to fix it on the hero at least.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 03-18-2010 , 09:03   Re: No Recoil Problem
Reply With Quote #4

Maybe catching and blocking ScreenShake event?
Seta00 is offline
shadow.hk
Senior Member
Join Date: Dec 2008
Location: WA, Australia
Old 11-20-2010 , 02:57   Re: No Recoil Problem
Reply With Quote #5

Perhaps hook Ham_Weapon_PrimaryAttack (post) and Ham_Weapon_SecondaryAttack (post) and set the punch angle then.

Last edited by shadow.hk; 11-20-2010 at 10:47.
shadow.hk is offline
Send a message via MSN to shadow.hk
Reply


Thread Tools
Display Modes

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


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