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)) {