This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-04 13:13:01 -04:00

31 lines
702 B
C++

/*
*
* Airstuck for source engine
*
*/
//#include<bits/stdc++.h> // INT_MAX
#include "../../../framework/game.hpp"
#include "../../../framework/input.hpp"
#include "../../../util/catvars.hpp"
#include "../hacks/hooks.hpp"
#include "../hacks/ifaces.hpp"
#include "airstuck.hpp"
namespace modules::source::features::airstuck {
static CatEnum airstuck_menu({"Misc"});
static CatVarKey airstuck(airstuck_menu, "airstuck", CatKey::kF, "Airstuck");
void Init() {
/*wtickmgr.REventDuring([](){
if (airstuck != CATKEY_NONE && input::pressed_buttons[airstuck]) {
hacks::hooks::g_UserCmd->tick_count = INT_MAX;
}
});*/
}
} // namespace modules::source::features::airstuck