test
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
//https://docs.microsoft.com/de-de/windows/desktop/inputdev/virtual-key-codes
|
||||
|
||||
import { Key } from '../game';
|
||||
import BetterBindings from 'ragemp-better-bindings';
|
||||
import KeyBinder from 'ragemp-better-bindings';
|
||||
|
||||
export default function keys(globalData: IGlobalData) {
|
||||
var showGui = true;
|
||||
@@ -141,7 +141,16 @@ export default function keys(globalData: IGlobalData) {
|
||||
mp.gui.takeScreenshot(new Date().toLocaleDateString(), 1, 100, 80);
|
||||
});
|
||||
|
||||
BetterBindings.bind('ctrl+h', () => {
|
||||
KeyBinder.bind("alt+h", () => {
|
||||
mp.events.call("keyPress:ControllH"); //hup
|
||||
return;
|
||||
});
|
||||
|
||||
KeyBinder.bind("ctrl+h", () => {
|
||||
mp.events.call("keyPress:ControllH"); //hup
|
||||
return;
|
||||
});
|
||||
KeyBinder.bind("h", () => {
|
||||
mp.events.call("keyPress:ControllH"); //hup
|
||||
return;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user