Made some last changes to faction interaction

This commit is contained in:
VegaZ
2019-03-06 20:03:02 +01:00
parent fd06c11a0d
commit 13142edbb7
4 changed files with 40 additions and 26 deletions

View File

@@ -34,11 +34,11 @@ mp.keys.bind(0x26, false, function () {
});
//RIGHT ARROW (Interaktion mit anderen Spielern)
//mp.keys.bind(0x27, false, function () {
// if (!globalData.InChat && !showInv && !globalData.Interaction) {
// mp.events.callRemote("keyPress:RIGHT_ARROW");
// }
//});
mp.keys.bind(0x27, false, function () {
if (!globalData.InChat && !showInv && !globalData.Interaction) {
mp.events.callRemote("keyPress:RIGHT_ARROW");
}
});
//DOWN ARROW (Interaktion mit anderen Spielern)
mp.keys.bind(0x28, false, function () {
@@ -65,11 +65,11 @@ mp.keys.bind(0x62, false, function () {
});
//NUM5 //Fraktionsinteraktion (Tasks sortieren)
mp.keys.bind(0x65, false, function () {
if (!globalData.InChat && globalData.Interaction) {
mp.events.call("sortFactionTasks", true);
}
});
//mp.keys.bind(0x65, false, function () {
// if (!globalData.InChat && globalData.Interaction) {
// mp.events.call("sortFactionTasks", true);
// }
//});
//E
mp.keys.bind(0x45, false, function () {