Help with slay after speed > 2x
Hi, im not quite sure f its possible, but can never know the limits of amx scripting. would it be possible to slay each person that reaches a forward speed of say 2x. im not quite sure what the max speed is thats possible ingame. possibly around 1.3? just wondering as it would stop speed hacking on our servers.
an example would be great thanks. regards srx |
Well, this code would be a start:
Code:
However, deciding when to call it would be tricky. You could call it on a client prethink, but it might cause a bit of lag. You could set a task for every player that is run every X seconds, but that might not catch everyone. |
mmmm i see. how laggy do you think it would get say checking every 5 - 10 seconds? seems as a good idea may not be quite as good any more >.<
thanks for your help avalanche |
Code:
This will theoretically work, but it hasn't been tested. sv_speedcheck (0 or 1) will turn the plugin on or off, and sv_speedcheckrate will determine the rate at which it checks. |
| All times are GMT -4. The time now is 19:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.