Rewrite Inventory-System

This commit is contained in:
VegaZ
2018-11-29 21:17:00 +01:00
parent d8ce039f71
commit 822037db91
7 changed files with 126 additions and 178 deletions

View File

@@ -52,13 +52,7 @@ mp.keys.bind(0x49, false, function () {
//J
mp.keys.bind(0x4A, false, function () {
if (showInventory === false) {
mp.events.call("showInventory", true);
showInventory = true;
} else {
mp.events.call("showInventory", false);
showInventory = false;
}
mp.events.callRemote("keyPress:J");
});
//K //Dienstkleidung