From 284a69c09694aaa6f2205ed50991ddcd303844d2 Mon Sep 17 00:00:00 2001 From: Lukas Moungos Date: Sat, 14 Dec 2019 15:23:01 +0100 Subject: [PATCH] try fix --- ReallifeGamemode.Server/Events/Death.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Events/Death.cs b/ReallifeGamemode.Server/Events/Death.cs index b3f1e708..8970622b 100644 --- a/ReallifeGamemode.Server/Events/Death.cs +++ b/ReallifeGamemode.Server/Events/Death.cs @@ -58,7 +58,7 @@ namespace ReallifeGamemode.Server.Events { Autowanted.Check_AutoWanted(killer, player); - string message = "~y~[HINWEIS]: " + killer.Name + " hat " + player.Name + " getötet (" + Managers.WeaponManager.GetWeaponNameByHash(NAPI.Player.GetPlayerCurrentWeapon(killer)) + ")"; + string message = "~y~[HINWEIS]: " + killer.Name + " hat " + player.Name + " getötet (" + Managers.WeaponManager.GetWeaponNameByHash((uint)NAPI.Player.GetPlayerCurrentWeapon(killer)) + ")"; ChatService.BroadcastAdmin(message, AdminLevel.ADMIN); } }