jeder kann in den chat schreiben

This commit is contained in:
Luke
2021-05-25 20:21:19 +00:00
parent 740bf7f09f
commit cb78c351e6

View File

@@ -26,12 +26,7 @@ export default function deathScreen() {
mp.events.add("startDeathTimer", (isAdmin) => {
if (isDeath === false) {
isDeath = true;
if (isAdmin) {
mp.gui.chat.activate(true);
}
else {
mp.gui.chat.activate(false);
}
mp.gui.chat.activate(true);
mp.game.audio.playSoundFrontend(-1, "Bed", "WastedSounds", true);
deathDate = new Date();
respawnTime = Math.floor(deathDate.getTime() / 1000 + maxDeathTime);