set_user_maxspeed bug?
When I set a players maxspeed to something under around 70, the player's maxspeed sets to a value that's much lower.
For example: If I set a player's maxspeed to 50 with this code: Code:
Then the player don't gets 50 maxspeed, he gets 2.5 :| Is this a known bug or is there only me who got it? Anyway to solve it? |
Re: set_user_maxspeed bug?
try with set_pev
like : set_pev(id, pev_maxspeed, 50.0); |
Re: set_user_maxspeed bug?
Quote:
Same with this too: Code:
|
Re: set_user_maxspeed bug?
I just used both fm_set_user_maxspeed and set_user_maxspeed with a value of 50.0 and then checked the value and both did come back at 50.0. Where are you getting this 2.5 number from?
|
Re: set_user_maxspeed bug?
Quote:
Quote:
|
Re: set_user_maxspeed bug?
The speed does seem very slow but take into consideration the default maxspeed when holding knife which is 300.0 [other weapons are bit lower). Setting it at 50.0 is 1/6 of that speed so it feels like you are crawling. Is your units\sec calculation consistent at default maxspeed for knife? ie 300.0 units/sec
|
Re: set_user_maxspeed bug?
Quote:
|
Re: set_user_maxspeed bug?
Quote:
Use a speedometer you see what speed you are moving in. Quote:
|
Re: set_user_maxspeed bug?
Show us more code, can the problem is not with set_user_maxspeed
|
Re: set_user_maxspeed bug?
I just made a simple plugin that set the maxspeed to 50.0 when you type /speed. It has nothing to do with thee code...
|
| All times are GMT -4. The time now is 15:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.