Update plugins for transitional methods.

This commit is contained in:
David Anderson
2014-12-13 13:29:15 -08:00
parent 722a23c818
commit 1328984e0b
48 changed files with 620 additions and 620 deletions
+6 -6
View File
@@ -393,15 +393,15 @@ SendPrivateChat(client, target, const String:message[])
LogAction(client, -1, "\"%L\" triggered sm_psay to \"%L\" (text %s)", client, target, message);
}
SendPanelToAll(from, String:message[])
void SendPanelToAll(int from, char[] message)
{
decl String:title[100];
char title[100];
Format(title, 64, "%N:", from);
ReplaceString(message, 192, "\\n", "\n");
new Handle:mSayPanel = CreatePanel();
SetPanelTitle(mSayPanel, title);
Panel mSayPanel = CreatePanel();
mSayPanel.SetTitle(title);
DrawPanelItem(mSayPanel, "", ITEMDRAW_SPACER);
DrawPanelText(mSayPanel, message);
DrawPanelItem(mSayPanel, "", ITEMDRAW_SPACER);
@@ -417,10 +417,10 @@ SendPanelToAll(from, String:message[])
}
}
CloseHandle(mSayPanel);
delete mSayPanel;
}
public Handler_DoNothing(Handle:menu, MenuAction:action, param1, param2)
public Handler_DoNothing(Menu menu, MenuAction action, int param1, int param2)
{
/* Do nothing */
}