Speed down
How to do that when player do nothing, speed goes down from the speed what player had.
example players speed is 999. player lose the forward key & speed must go down from 999 to 998 , 997, 9996 >>> 0. this is what i have but problem is when u dont press the key, ur speed is 0 :( PHP Code:
|
Re: Speed down
im not sure if its what u need, but you could make a "new gVariable = 1000" and a repeating task and do "gVariable--;" then "set_user_maxspeed(id, floatround(gVariable);"
|
Re: Speed down
hmmm this sounds good. ill try. ty for first.
|
Re: Speed down
Code:
floatround - Rounds a float into an integer value. float - Returns the floating point value of the given number. |
Re: Speed down
my bad
|
| All times are GMT -4. The time now is 15:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.