How can i make a motd how this?
[IMG]http://img710.**************/img710/8405/imagenaw.png[/IMG]
i tried this way, but that doesn't work.
PHP Code:
public Test(id)
{
new motd[1501], len;
len = format(motd, sizeof motd - 1,"<body bgcolor=#000000><font color=#98f5ff><pre>");
len += format(motd[len], (sizeof motd - 1) - len,"<TABLE>");
len += format(motd[len], (sizeof motd - 1) - len,"<TR>");
len += format(motd[len], (sizeof motd - 1) - len,"<TD><b>%-22.22s</b>: %10i</TD>", "Option1",Option1[id]);
len += format(motd[len], (sizeof motd - 1) - len,"<TD><b>%-22.22s</b>: %10i</TD>", "Option2",Option2[id]);
len += format(motd[len], (sizeof motd - 1) - len,"<TD><b>%-22.22s</b>: %10i</TD>", "Option3",Option3[id]);
len += format(motd[len], (sizeof motd - 1) - len,"</TR>");
len += format(motd[len], (sizeof motd - 1) - len,"<TR>");
len += format(motd[len], (sizeof motd - 1) - len,"<TD><b>%-22.22s</b>: %10i</TD>", "Option4",Option4[id]);
len += format(motd[len], (sizeof motd - 1) - len,"<TD><b>%-22.22s</b>: %10i</TD>", "Option5",Option5[id]);
len += format(motd[len], (sizeof motd - 1) - len,"<TD><b>%-22.22s</b>: %10i</TD>", "Option6",Option6[id]);
len += format(motd[len], (sizeof motd - 1) - len,"</TR>");
len += format(motd[len], (sizeof motd - 1) - len,"</TABLE>");
show_motd(id, motd, "Something");
return PLUGIN_HANDLED
}