Disable some interactions while player is in vehicle or dead.
Change keybind mapping from X to Z due to interference with game functions.
This commit is contained in:
@@ -122,10 +122,10 @@ export default function keys(globalData: IGlobalData) {
|
||||
}
|
||||
});
|
||||
|
||||
//X // Fahrzeug Verwaltung - Menü
|
||||
mp.keys.bind(0x58, false, function () {
|
||||
//Z // Fahrzeug Verwaltung - Menü
|
||||
KeyBinder.bind(0x5A, false, function () {
|
||||
if (!globalData.InChat && !globalData.InMenu && !globalData.InTuning) {
|
||||
mp.events.callRemote("keyPress:X");
|
||||
mp.events.callRemote("keyPress:Z");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user