Merge branch 'cherry-pick-cb78c351' into 'master'
jeder kann in den chat schreiben See merge request log-gtav/reallife-gamemode!74
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user