Add duty System and Duty Cloth

This commit is contained in:
VegaZ
2018-11-14 19:00:31 +01:00
parent f02ad2b93d
commit b4df50215d
17 changed files with 371 additions and 45 deletions

View File

@@ -17,7 +17,7 @@ mp.keys.bind(0x0D, false, function () {
});
//F7
//F7 //Unshowalles
mp.keys.bind(0x76, false, function () {
if (showGui === true) {
showGui = false;
@@ -28,13 +28,20 @@ mp.keys.bind(0x76, false, function () {
}
});
//NUM2
//NUM2 //Save Blips in Edit Mode
mp.keys.bind(0x62, false, function () {
mp.events.callRemote("keyPress:NUM2");
});
//E
mp.keys.bind(0x45, false, function () {
if (!chat) {
mp.events.callRemote("keyPress:E");
}
});
//I
//I //Spielerliste
mp.keys.bind(0x49, false, function () {
if (!chat) {
mp.events.callRemote("keyPress:I");
@@ -42,12 +49,21 @@ mp.keys.bind(0x49, false, function () {
}
});
//L
mp.keys.bind(0x4C, false, function () {
mp.events.callRemote("ChangeDoorState");
//K //Dienstkleidung
mp.keys.bind(0x4B, false, function () {
if (!chat) {
mp.events.callRemote("keyPress:K");
}
});
//N
//L //Türen auf / zuschließen
mp.keys.bind(0x4C, false, function () {
if (!chat) {
mp.events.callRemote("keyPress:L");
}
});
//N //Motor Starten
mp.keys.bind(0x4E, false, function () {
if (!chat) {
mp.events.callRemote("keyPress:N");
@@ -61,9 +77,10 @@ mp.keys.bind(0x54, false, function () {
}
});
//X
//X //Anschnallen
mp.keys.bind(0x58, false, function () {
if (!chat) {
mp.events.callRemote("keyPress:X");
}
});