Raised This Month: $ Target: $400
 0% 

Friction for players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TryNoob
BANNED
Join Date: Aug 2011
Old 10-12-2011 , 10:23   Friction for players
Reply With Quote #1

How to change the friction (sv_friction) for a player?
TryNoob is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 10-13-2011 , 04:54   Re: Friction for players
Reply With Quote #2

Since sv_friction is global, all you can do is emulate your own friction by perhaps using OnPlayerRunCmd, checking for being on Ground, checking Velocity etc
AtomicStryker is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 10-13-2011 , 05:03   Re: Friction for players
Reply With Quote #3

You could try your luck with m_flFriction.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
TryNoob
BANNED
Join Date: Aug 2011
Old 10-13-2011 , 07:18   Re: Friction for players
Reply With Quote #4

Quote:
Originally Posted by AtomicStryker View Post
Since sv_friction is global, all you can do is emulate your own friction by perhaps using OnPlayerRunCmd, checking for being on Ground, checking Velocity etc
I will try

Quote:
Originally Posted by Monkeys View Post
You could try your luck with m_flFriction.
With the the player is not working
TryNoob is offline
TryNoob
BANNED
Join Date: Aug 2011
Old 10-13-2011 , 09:20   Re: Friction for players
Reply With Quote #5

Another question is how check whether stuck players?
TryNoob 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 11:21.


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