Enhanced StaminUp
-
This script allows for unlimited sprint when you have StaminUp. Script was based off my Enhanced Quick Revive which in turn was based off of Enhanced Speed Cola
#include maps\_utility; #include common_scripts\utility; #include maps\_zombiemode_utility; init() { level thread onPlayerConnect(); } onPlayerConnect() { for(;;) { level waittill( "connected", player ); player thread monitorStaminUpPerks(); } } monitorStaminUpPerks() { self endon( "disconnect" ); for(;;) { self waittill_any( "perk_acquired", "perk_lost" ); if ( self HasPerk( "specialty_longersprint" ) ) { if ( !self HasPerk( "specialty_unlimitedsprint" ) ) { self SetPerk( "specialty_unlimitedsprint" ); } } else { if ( self HasPerk( "specialty_unlimitedsprint" ) ) { self UnsetPerk( "specialty_unlimitedsprint" ); } } } } perk_give_override( perk ) { self SetPerk( perk ); if ( perk == "specialty_longersprint" ) { self SetPerk( "specialty_unlimitedsprint" ); } } perk_lose_override( perk ) { self UnsetPerk( perk ); if ( perk == "specialty_quickrevive" ) { self UnsetPerk( "specialty_unlimitedsprint" ); } }
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login