From e4f2bcff3602c34266754f5ce0533cdb9613679e Mon Sep 17 00:00:00 2001 From: neon <> Date: Sat, 20 Oct 2018 15:39:10 +0200 Subject: [PATCH] remove msay inside of FunMode --- FunMode/scripting/FunMode.sp | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/FunMode/scripting/FunMode.sp b/FunMode/scripting/FunMode.sp index 2eb5cd9c..bf6fd5d8 100644 --- a/FunMode/scripting/FunMode.sp +++ b/FunMode/scripting/FunMode.sp @@ -184,28 +184,6 @@ public void OnClientPutInServer(int client) g_iPlayerKnives[client] = 0; g_bIgnoredFirstUpdate[client] = false; - - if (g_bInWarmup) - return; - - Panel hNotifyPanel = new Panel(GetMenuStyleHandle(MenuStyle_Radio)); - hNotifyPanel.DrawItem("Freezenades vs. Throwing Knives Mode is enabled on this map.", ITEMDRAW_RAWLINE); - hNotifyPanel.DrawItem("", ITEMDRAW_SPACER); - hNotifyPanel.DrawItem("Watch out for zombies spawning in between humans!", ITEMDRAW_RAWLINE); - hNotifyPanel.DrawItem("", ITEMDRAW_SPACER); - hNotifyPanel.DrawItem("As a Human you have one Freezenade (Smoke). Use it wisely!", ITEMDRAW_RAWLINE); - hNotifyPanel.DrawItem("", ITEMDRAW_SPACER); - hNotifyPanel.DrawItem("As a Zombie you can throw knives using your knives secondary attack.", ITEMDRAW_RAWLINE); - hNotifyPanel.DrawItem("The maximum amount of throwing knives you can hold at any time is five.", ITEMDRAW_RAWLINE); - hNotifyPanel.DrawItem("You will generate one throwing knife after a certain period of time has passed.", ITEMDRAW_RAWLINE); - hNotifyPanel.DrawItem("", ITEMDRAW_SPACER); - hNotifyPanel.DrawItem("Have fun!", ITEMDRAW_RAWLINE); - hNotifyPanel.DrawItem("1. Got it!", ITEMDRAW_RAWLINE); - hNotifyPanel.SetKeys(1023); - - hNotifyPanel.Send(client, MenuHandler_NotifyPanel, 0); - - delete hNotifyPanel; } public Action EventHook_PlayerSpawn(Event hEvent, const char[] sName, bool bDontBroadcast) @@ -227,15 +205,6 @@ public Action EventHook_PlayerSpawnPost(Handle hTimer, int serial) EquipPlayerWeapon(client, ent); } -int MenuHandler_NotifyPanel(Menu hMenu, MenuAction iAction, int iParam1, int iParam2) -{ - switch (iAction) - { - case MenuAction_Select, MenuAction_Cancel: - delete hMenu; - } -} - public void OnClientDisconnect(int client) { if (g_hKnifeRegenerationTimer[client] != null)