Allows players to sprint using a stamina meter by double tapping w (forward button).
You can set how fast the stamina meter drains/regenerate and which class can use the sprint feature.
Installation:
Quote:
Download and drag files to correct directories
smx files goes to addons/sourcemod/plugins folder and .cfg files goes to cfg/sourcemod
To use sm_stamina_class, add the values of whatever class you want stamina sprinting to work for
For example if i wanted only pyro and medic to have stamina sprinting, i would add 64 + 16 = 80
I would then set sm_stamina_class 80
511 will enable all class to use stamina sprinting
Overrides:
Quote:
This plugin is enabled for all clients who joins the server, if you want to limit this to an admin flag then set your admin overrides to sm_stamina_override
Plugin must be reloaded if you change the override.
Changelog:
Quote:
1.2 -
Code cleanup
Added license file
1.1 -
Added sm_stamina_team to determine which team sprint
Added IsPlayerAlive check for OnPlayerRunCmd forward