move keys J -> O (Online), 2 -> J (Job)

This commit is contained in:
hydrant
2019-05-21 18:35:09 +02:00
parent 2cc591230e
commit 1a424261ea
2 changed files with 13 additions and 20 deletions

View File

@@ -94,10 +94,10 @@ export default function keys(globalData: GlobalData) {
}
});
//J //Spielerliste
mp.keys.bind(0x4A, false, function () {
//O //Spielerliste
mp.keys.bind(0x4F, false, function () {
if (!globalData.InChat) {
mp.events.callRemote("keyPress:J");
mp.events.callRemote("keyPress:O");
//mp.events.call("showPlayerlist");
}
});
@@ -140,7 +140,7 @@ export default function keys(globalData: GlobalData) {
});
//2 // Job Starten
mp.keys.bind(0x32, false, () => {
mp.keys.bind(0x4A, false, () => {
if (!globalData.InChat && !globalData.InInput && !globalData.InMenu && globalData.LoggedIn) {
mp.events.callRemote("CLIENT:JobManager_ShowJobMenu");
}