Made changes to key.js, inventory trade result

This commit is contained in:
VegaZ
2018-12-26 23:55:58 +01:00
parent a80f7d340f
commit b35ee0ad60
3 changed files with 17 additions and 15 deletions

View File

@@ -62,12 +62,16 @@ mp.events.add("showPlayerInteraction", (nearPlayerArr) => {
mp.gui.chat.activate(true);
globalData.PlayerInteraction = false;
} else if (item.Text === "Schlie\u00dfen") {
globalData.PlayerInteraction = false;
playerInteractionMenu.Visible = false;
mp.gui.chat.activate(true);
globalData.PlayerInteraction = false;
}
});
playerInteractionMenu.MenuClose.on(() => {
mp.gui.chat.activate(true);
globalData.PlayerInteraction = false;
});
});
mp.events.add("showTradeRequest", (tradeRequesterName, tradeItemsArr, tradePrizeSent) => {