remove msay inside of SpecialFriday
This commit is contained in:
parent
8f8df39883
commit
eb52936324
@ -25,44 +25,6 @@ public void OnPluginStart()
|
||||
LogMessage("configs/specialfriday.cfg missing, is this intended?");
|
||||
}
|
||||
|
||||
public void OnClientPutInServer(int client)
|
||||
{
|
||||
if (IsVoteInProgress())
|
||||
return;
|
||||
|
||||
if (!IsItFridayTime())
|
||||
return;
|
||||
|
||||
MenuSource iOpenMenu = GetClientMenu(client);
|
||||
|
||||
if (iOpenMenu != MenuSource_None && iOpenMenu == MenuSource_RawPanel) //probably FunMode
|
||||
return;
|
||||
|
||||
Panel hNotifyPanel = new Panel(GetMenuStyleHandle(MenuStyle_Radio));
|
||||
hNotifyPanel.SetTitle("*** It's Extended Nomlist Friday! ***");
|
||||
hNotifyPanel.DrawItem("", ITEMDRAW_SPACER);
|
||||
hNotifyPanel.DrawItem("** Extra maps have been added to the rotation for today. **", ITEMDRAW_RAWLINE);
|
||||
hNotifyPanel.DrawItem("** Type !nominate to nominate them! **", ITEMDRAW_RAWLINE);
|
||||
hNotifyPanel.DrawItem("", ITEMDRAW_SPACER);
|
||||
hNotifyPanel.DrawItem("** Have fun! **", ITEMDRAW_RAWLINE);
|
||||
hNotifyPanel.DrawItem("", ITEMDRAW_SPACER);
|
||||
hNotifyPanel.DrawItem("1. Got it!", ITEMDRAW_RAWLINE);
|
||||
hNotifyPanel.SetKeys(1023);
|
||||
|
||||
hNotifyPanel.Send(client, MenuHandler_NotifyPanel, 0);
|
||||
|
||||
delete hNotifyPanel;
|
||||
}
|
||||
|
||||
int MenuHandler_NotifyPanel(Menu hMenu, MenuAction iAction, int iParam1, int iParam2)
|
||||
{
|
||||
switch (iAction)
|
||||
{
|
||||
case MenuAction_Select, MenuAction_Cancel:
|
||||
delete hMenu;
|
||||
}
|
||||
}
|
||||
|
||||
public void OnConfigsExecuted()
|
||||
{
|
||||
CreateTimer(5.0, Timer_PostOnConfigsExecuted, TIMER_FLAG_NO_MAPCHANGE, _);
|
||||
|
Loading…
Reference in New Issue
Block a user