Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Medigun Checker
- // This script requires you to press the bound key 4 times.
- // You can press it quickly the first two times,
- // but before pressing it a third time you must wait for the spy to complete the disguise action.
- // The third press will reveal the medigun.
- // The fourth press will change back to your original class.
- alias medcheck medcheck1
- alias medcheck1 "join_class spy; alias medcheck medcheck2"
- alias medcheck2 "disguise 5 -1; slot2; alias medcheck medcheck3"
- alias medcheck3 "lastdisguise; alias medcheck medcheck4"
- alias medcheck4 "originalclass"
- bind - medcheck // replace " - " with your own preference of key
- alias orig_scout "alias originalclass "join_class scout""
- alias orig_soldier "alias originalclass "join_class soldier""
- alias orig_pyro "alias originalclass "join_class pyro""
- alias orig_demoman "alias originalclass "join_class demoman""
- alias orig_heavyweapons "alias originalclass "join_class heavyweapons""
- alias orig_engineer "alias originalclass "join_class engineer""
- alias orig_medic "alias originalclass "join_class medic""
- alias orig_sniper "alias originalclass "join_class sniper""
- // Put this in the other classes
- exec medcheck; orig_<class>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement