test
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
|
||||
//https://docs.microsoft.com/de-de/windows/desktop/inputdev/virtual-key-codes
|
||||
|
||||
const player = mp.players.local;
|
||||
import { Key } from '../game';
|
||||
import BetterBindings from 'ragemp-better-bindings';
|
||||
|
||||
export default function keys(globalData: IGlobalData) {
|
||||
var showGui = true;
|
||||
@@ -140,12 +141,10 @@ export default function keys(globalData: IGlobalData) {
|
||||
mp.gui.takeScreenshot(new Date().toLocaleDateString(), 1, 100, 80);
|
||||
});
|
||||
|
||||
setInterval(() => {
|
||||
if (mp.keys.isDown(17) && mp.keys.isDown(72)) { //CTRL + H
|
||||
mp.events.call("keyPress:ControllH"); //hup
|
||||
return;
|
||||
}
|
||||
}, 100);
|
||||
BetterBindings.bind('ctrl + g', () => {
|
||||
mp.events.call("keyPress:ControllH"); //hup
|
||||
return;
|
||||
});
|
||||
|
||||
//F2 //Noclip
|
||||
mp.keys.bind(0x71, false, () => {
|
||||
|
||||
Reference in New Issue
Block a user