degub message for Ceramic Pistol

This commit is contained in:
Lukas Moungos
2019-12-14 16:26:27 +01:00
parent 1db840509e
commit be810a0024
2 changed files with 5 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ namespace ReallifeGamemode.Server.Events
player.SetData("isDead", true);
//TODO: Zum Full Release entfernen
ChatService.SendMessage(player, "Du bist durch " + killer.Name + " gestorben: " + reason.ToString());
ChatService.SendMessage(player, "Du bist durch " + killer.Name + " gestorben: " + Managers.WeaponManager.GetCauseOfDeathByHash(reason));
int? killerId;
float killerPosX;
@@ -57,9 +57,9 @@ namespace ReallifeGamemode.Server.Events
if (player != killer)
{
Autowanted.Check_AutoWanted(killer, player);
string message = "~y~[HINWEIS]: " + killer.Name + " hat " + player.Name + " getötet (" + Managers.WeaponManager.GetCauseOfDeathByHash(reason)+ ")";
ChatService.BroadcastAdmin(message, AdminLevel.ADMIN);
ChatService.Broadcast("" + reason.ToString());
}
}

View File

@@ -331,7 +331,9 @@ namespace ReallifeGamemode.Server.Managers
{ 1347266149, "Vehicle Vigilante Missile"},
{ 2275421702, "Vehicle Viseris MG"},
{ 1150790720, "Vehicle Volatol Dual MG"},
{ 1741783703, "Vehicle Water Cannon"}
{ 1741783703, "Vehicle Water Cannon"},
{ 2441047180, "Navy Revolver" },
{ (uint)NAPI.Util.WeaponNameToModel("ceramicpistol"), "Ceramic Pistol"}
};