Start Medic System / FactionInteraction

This commit is contained in:
VegaZ
2018-12-27 22:21:59 +01:00
parent 4ea09f0034
commit 5c84dc177d
10 changed files with 210 additions and 15 deletions

View File

@@ -26,6 +26,7 @@ mp.events.add("startDeathTimer", (isAdmin) => {
else {
mp.gui.chat.activate(false);
}
mp.game.audio.playSoundFrontend(-1, "Bed", "WastedSounds", true);
deathDate = new Date();
respawnTime = Math.floor(deathDate.getTime() / 1000 + 120);
fade = 255 - 120;