Fixed doormanager

This commit is contained in:
hydrant
2018-11-01 15:19:09 +01:00
parent 8e46680218
commit 488f42a365
2 changed files with 6 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
mp.events.add('changeDoorState', (doorHash, x, y, z, locked, p5, p6, p7) => {
locked === 1 ? locked = true : locked = false;
mp.game.object.doorControl(doorHash, x, y, z, locked, p5, p6, p7);
});