variable movement speed
heya!
I need a plugin which gives the admins a cmd to modify all players' speed to a custom value, from 0 to 1000 (I remember default is 250 :?). the found plugins so far are buggy or can't change the speed of steam players (console cmd spamming). thank you so much |
Re: variable movement speed
You can't force modify player's cvars. Slowhacking is not allowed.
The best you can do is instruct them to do so on their own with a friendly message. |
Re: variable movement speed
it's not about slowhacking, I want to give all players speed, this is the point of the gameplay, as in soccerjam (turbo) or surf.
|
Re: variable movement speed
If you want to give speed, you would use AMXX's built-in functions instead of modifying their settings.
Give an example of such a "buggy plugin that doesn't work". |
Re: variable movement speed
https://forums.alliedmods.net/showthread.php?p=461931
tried this one. steam on players with protected cs take endless errors in console when I enable the speed (including me), causing overflood so I all want to do is to increase everyone's speed, how do I do that by using AMXX's built-in functions, as you said? |
Re: variable movement speed
amx_speed <player> <speed amount|reset>
Code:
|
Re: variable movement speed
Compiled it successfully but it doesn't work. The command works but doesn't modify my speed. I'm using the last version of reHLDS
|
Re: variable movement speed
OciXCrom seems correct, maybe this could be the issue (pre-post hook):
Code:
RegisterHam(Ham_CS_Player_ResetMaxSpeed, "player", "OnResetMaxSpeed") |
Re: variable movement speed
I mixed up id and iPlayer. Check now, I edited my code.
Try what JocAnis said if it doesn't work but I'm pretty sure it doesn't have to be post. Gonna check later what I use in my plugins. If it still doesn't work, check your error logs. If there aren't any, then you have some terrible plugin that's overwriting it. |
Re: variable movement speed
You can increase any player speed by increasing their velocity....
But you need several checks for this method its kind hacky way. |
| All times are GMT -4. The time now is 17:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.