Merge dev into inventory

This commit is contained in:
VegaZ
2018-12-10 21:29:10 +01:00
14 changed files with 1126 additions and 15 deletions

View File

@@ -10,6 +10,8 @@ var chat = false;
var showInventory = false;
var showGui = true;
const player = mp.players.local;
//ENTER
mp.keys.bind(0x0D, false, function () {
if (chat === true) {
@@ -74,6 +76,8 @@ mp.keys.bind(0x4C, false, function () {
//N //Motor Starten
mp.keys.bind(0x4E, false, function () {
if (!chat) {
if (!player.vehicle) return;
if (player.vehicle.getSpeed() > 5) return;
mp.events.callRemote("keyPress:N");
}
});