From 42b7be7770b5a5a4962a024d6769d96b29e56397 Mon Sep 17 00:00:00 2001 From: "michael.reiswich" Date: Wed, 31 Mar 2021 19:46:52 +0200 Subject: [PATCH] voice --- ReallifeGamemode.Client/index.ts | 5 ++--- ReallifeGamemode.Server/Wanted/Jail.cs | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ReallifeGamemode.Client/index.ts b/ReallifeGamemode.Client/index.ts index 7198eec7..1ee4852f 100644 --- a/ReallifeGamemode.Client/index.ts +++ b/ReallifeGamemode.Client/index.ts @@ -57,9 +57,8 @@ cityHall(globalData); import adminSpeed from './admin/aspeed'; adminSpeed(); - -//import voice from './Voice/main'; -//voice(globalData); +import voice from './Voice/main'; +voice(globalData); import handMoney from './Gui/handmoney' handMoney(globalData); diff --git a/ReallifeGamemode.Server/Wanted/Jail.cs b/ReallifeGamemode.Server/Wanted/Jail.cs index b658d890..a26673f2 100644 --- a/ReallifeGamemode.Server/Wanted/Jail.cs +++ b/ReallifeGamemode.Server/Wanted/Jail.cs @@ -235,14 +235,14 @@ namespace ReallifeGamemode.Server.Wanted } } } - + [RemoteEvent("setPrisonerFree")] public void Release_Jail(Player cop, string client) { Player player = PlayerService.GetPlayerByNameOrId(client); if (player == null) return; - + User user = player.GetUser(); if (Jailtime.ContainsKey(user.Id)) {