Raised This Month: $ Target: $400
 0% 

Disable recoil for players in 'no clip' mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
t3hNox
Senior Member
Join Date: Oct 2009
Old 12-29-2010 , 18:54   Disable recoil for players in 'no clip' mode
Reply With Quote #1

Hello,
I know two methods how to manipulate with player's recoil when shooting but none of them is effective when player is in 'no clip' mode. I'd like to ask for a piece of code that would disable any recoil for any weapon.

When I searched I found this method:
PHP Code:
public Player_PostThinkid 

    
set_pev(idpev_flagspev(idpev_flags) | FL_ONGROUND

It didn't seem to work properly when a player was with no clip.

And the other one was with pev_punchangle. I didn't manage to find a proper example how to use it to work as I want so I don't have any code..

Thanks in advance.
t3hNox is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 12-31-2010 , 11:51   Re: Disable recoil for players in 'no clip' mode
Reply With Quote #2

Quote:
Originally Posted by t3hNox View Post
And the other one was with pev_punchangle. I didn't manage to find a proper example how to use it to work as I want so I don't have any code..
As far as I know pev_punchangle method works perfectly only on LAN. If you use that method you will be having a weird recoil if you have a ping higher than 0.
__________________
"There is no knowledge, that is not power"
fezh is offline
t3hNox
Senior Member
Join Date: Oct 2009
Old 01-02-2011 , 15:35   Re: Disable recoil for players in 'no clip' mode
Reply With Quote #3

fezh, thanks for clarifying.

I'm still looking for solution.
t3hNox 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 01:58.


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