Maxspeed help...
How would I stick maxspeed into a plugin so that as soon as a player joined there maxspeed is upped just a little?
|
ok well i got the maxspeed working, but my speed in-game won't change, why is this? i go as slow as i do without it set.
|
If you are using CS I think that maxspeed is reset whenever you switch weapons (CurWeapon message), so you might want to check that the maxspeed you change to is always the same.
|
It compiles fine except the speed doesn't change. The footsteps and invisibility works though. Here's my code:
Code:
/* |
Bring
Up My Post |
Looking at your code there, it doesn't look like you registered the event to use CurWeapon. In plugin_init you need to add this:
Code:
Also within your CurWeapon function, you won't really need the for loop, beause it will called for each player on an individual basis. So maybe something like this is all you really need: Code:
|
| All times are GMT -4. The time now is 17:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.