Cleaned up code (removed unnneccessary lines / words)

This commit is contained in:
Lennart Kampshoff
2018-09-19 20:14:49 +02:00
parent 989fa856c2
commit c9b786cf03
4 changed files with 3 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ namespace reallife_gamemode.Server.Events
{
public class Death : Script
{
[ServerEvent(GTANetworkAPI.Event.PlayerDeath)]
[ServerEvent(Event.PlayerDeath)]
public void OnPlayerDeath(Client player, Client killer, uint reason)
{
NAPI.Chat.SendChatMessageToPlayer(player, "Du bist durch " + killer.Name + " gestorben: " + reason.ToString());