[TF2] Inverted Speed Boost?
This is my first script, and it is not working properly, it should add the attribute "move speed penalty" while the player have an speed boost (cond), but it applies the effect only when the cond ends, help!
Quote:
|
Re: [TF2] Inverted Speed Boost?
Quote:
Apply the speedbuffally condition for 0.0 seconds so it properly updates your speed. |
Re: [TF2] Inverted Speed Boost?
But then i would need to create a timer for detecting when the speedboost was supposed to end, right?
|
Re: [TF2] Inverted Speed Boost?
Quote:
|
Re: [TF2] Inverted Speed Boost?
Ok, now it keeps giving an error
Quote:
Line 31 is the "CreateTimer" line |
Re: [TF2] Inverted Speed Boost?
Your Timer_SpeedDecrease function has the wrong prototype (parameters). You didn't provide the code for it, though.
|
Re: [TF2] Inverted Speed Boost?
Quote:
|
Re: [TF2] Inverted Speed Boost?
Make it
PHP Code:
|
Re: [TF2] Inverted Speed Boost?
Well, now it's partially working, but it's lagging all the servers and spamming the console with errors
Quote:
|
All times are GMT -4. The time now is 09:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.