This commit is contained in:
2021-04-07 01:20:31 +02:00
parent a9341366c1
commit a4e7be7131
2 changed files with 4 additions and 5 deletions

View File

@@ -140,13 +140,12 @@ export default function keys(globalData: IGlobalData) {
mp.gui.takeScreenshot(new Date().toLocaleDateString(), 1, 100, 80);
});
//H
mp.keys.bind(0x48, false, function () {
if (mp.keys.isDown(0x11)) { //CTRL
setInterval(() => {
if (mp.keys.isDown(0x11) && mp.keys.isDown(0x48)) { //CTRL + H
mp.events.call("keyPress:ControllH"); //hup
return;
}
});
}, 100);
//F2 //Noclip
mp.keys.bind(0x71, false, () => {