remove msay inside of FunMode
This commit is contained in:
parent
eb52936324
commit
e4f2bcff36
@ -184,28 +184,6 @@ public void OnClientPutInServer(int client)
|
|||||||
|
|
||||||
g_iPlayerKnives[client] = 0;
|
g_iPlayerKnives[client] = 0;
|
||||||
g_bIgnoredFirstUpdate[client] = false;
|
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)
|
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);
|
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)
|
public void OnClientDisconnect(int client)
|
||||||
{
|
{
|
||||||
if (g_hKnifeRegenerationTimer[client] != null)
|
if (g_hKnifeRegenerationTimer[client] != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user