AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Friction for players (https://forums.alliedmods.net/showthread.php?t=169424)

TryNoob 10-12-2011 10:23

Friction for players
 
How to change the friction (sv_friction) for a player?

AtomicStryker 10-13-2011 04:54

Re: Friction for players
 
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

Monkeys 10-13-2011 05:03

Re: Friction for players
 
You could try your luck with m_flFriction.

TryNoob 10-13-2011 07:18

Re: Friction for players
 
Quote:

Originally Posted by AtomicStryker (Post 1573999)
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 (Post 1574006)
You could try your luck with m_flFriction.

With the the player is not working

TryNoob 10-13-2011 09:20

Re: Friction for players
 
Another question is how check whether stuck players?


All times are GMT -4. The time now is 11:52.

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