From c35b81629f0beb6565265f9b17c5aea471f67db1 Mon Sep 17 00:00:00 2001 From: Lennart Kampshoff Date: Sun, 23 Sep 2018 01:33:33 +0200 Subject: [PATCH] Add OnResourceStop Event Test --- Main.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Main.cs b/Main.cs index 8018ab39..e0f4c9a4 100644 --- a/Main.cs +++ b/Main.cs @@ -43,5 +43,11 @@ namespace reallife_gamemode } } } + + [ServerEvent(Event.ResourceStop)] + public void OnResourceStop() + { + NAPI.Chat.SendChatMessageToAll("on stop"); + } } } \ No newline at end of file