Finally, we can have a sprint plugin which doesn't require players to bind any key.
You can sprint by simply pressing your use key (default: E).
I still let the possibility to bind a key with the !sprint command.
Simply drop auto_sprint_source.smx in your addons/sourcemod/plugins folder
+drop auto_sprint_source.phrases.txt in your addons/sourcemod/translations folder.
sm_ass_enabled (def: 1) - Enable/Disable cvar
sm_ass_time (def: 3) - sprint time in seconds
sm_ass_cooldown (def: 10) - cool down time in seconds
sm_ass_speed (def: 1.33) - sprint speed ratio
sm_ass_team (def: 0) - team restriction: 0 = all / 2 = T's only / 3 = CT's only
sm_ass_adverts (def: 1) - Enable/Disable sprint and cooldown messages
sm_ass_welcome (def: 1) - Enable/Disable welcome info
fixed: sprint & cooldown running on player death, or when players goes to spec / disconnects
TF2 version also updated
v1.2.2 (Apr. 14):
cvar flags adjusted/renamed
2 cvars added:
sm_ass_adverts & sm_ass_welcome
Thanks to Shaman and Bacardi.
Some guy (whom I will not say the name) managed to do such plugin for Sourcemod too, but didn't want to make it public and share his code.
So I had to try since I needed one for a soccer server.
Also thanks to Yak for his scripting FAQ
Servers using this plugin: