Small fix in Interaction

This commit is contained in:
VegaZ
2018-12-26 23:32:57 +01:00
parent ab0cb88281
commit 78726f3f6a
2 changed files with 4 additions and 7 deletions

View File

@@ -24,8 +24,7 @@ mp.keys.bind(0x0D, false, function () {
//LEFT ARROW (Interaktion mit anderen Spielern)
mp.keys.bind(0x25, false, function () {
if (!chat && !showInv && !globalData.PlayerInteraction) {
mp.events.callRemote("keyPress:LEFT_ARROW");
globalData.PlayerInteraction = true;
mp.events.callRemote("keyPress:LEFT_ARROW");
}
});