friction - not working
Hi...i'm having problems at seting friction:
PHP Code:
|
Re: friction - not working
Should work, you must set that value constantly maybe in player prethink.
|
Re: friction - not working
Quote:
LE: not working... |
Re: friction - not working
So...it works without prethink, but:
1.0 - normal 0.0 - nothing (stops immediately) 2.0,3.0,etc.. - stops -1.0,-2.0,etc.. - sends me in random directions very fast I just want to slide like on ice:) |
Re: friction - not working
It should work fine... I have a plugin that can set friction and anything between 0 and 1 causes sliding. Maybe you should post the code.
Also you definitely don't have to put it in the prethink. The only thing you should know is that their friction is reset every time they spawn. |
Re: friction - not working
Quote:
Can you give me the part from your plugin ?:oops: |
Re: friction - not working
Bit of a simplified version but it should give you the idea.
PHP Code:
|
Re: friction - not working
So:
Code:
sf_fric player 0.15 |
Re: friction - not working
Yep.
|
| All times are GMT -4. The time now is 03:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.