From af96374b23eebbf20ace01c7baf8b9eb25807965 Mon Sep 17 00:00:00 2001 From: Lennart Kampshoff Date: Tue, 18 Sep 2018 22:40:14 +0200 Subject: [PATCH] Add ChatService, Folder for Managers --- Server/Managers/.gitkeep | 10 ++++++++++ Server/Services/ChatService.cs | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Server/Managers/.gitkeep create mode 100644 Server/Services/ChatService.cs diff --git a/Server/Managers/.gitkeep b/Server/Managers/.gitkeep new file mode 100644 index 00000000..d66872d0 --- /dev/null +++ b/Server/Managers/.gitkeep @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace reallife_gamemode.Server.Managers +{ + class _ + { + } +} diff --git a/Server/Services/ChatService.cs b/Server/Services/ChatService.cs new file mode 100644 index 00000000..18fcdf2e --- /dev/null +++ b/Server/Services/ChatService.cs @@ -0,0 +1,15 @@ +using GTANetworkAPI; +using System; +using System.Collections.Generic; +using System.Text; + +namespace reallife_gamemode.Server.Services +{ + class ChatService + { + public static void NotAuthorized(Client player) + { + player.SendChatMessage("~r~[FEHLER]~s~ Du kannst diesen Befehl nicht ausführen."); + } + } +}