I need help with this..
PHP Code:
new g_szBuffer[1537]
public SayCommands(id) {
new iLen = 0;
iLen = format(g_sBuffer[iLen], 1536, Style)
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<body><table width=100%% border=0 align=center cellpadding=0 cellspacing=1>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><th>%s<th>%s<th>%s</tr>", "Say Command", "Description", "Status")
//iLen += format(g_sBuffer[iLen], 2047 - iLen, "<tr><td><td><td>(2)<td>(3)<td>(-1)<td>(-1)<td>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say thetime<td>Displays what date and time it is.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say timeleft<td>Displays the time left of the map..<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say nextmap<td>Displays the next map<font color=#EEC910> (if decided)</color> .<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say currentmap<td>Displays current map.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say /rank<td>Displays your rank.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say /rankstats<td>Displays your stats and points.<td>Status:<font color=#00FF15> ON</color>" )
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say /top15<td>Displays top15 in a<font color=#EEC910> MOTD</color><td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say recentmaps<td>Displays a listing of the three most recently played maps.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say nominations/noms<td>Displays a listing of maps that have been nominated.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say nominate/nom .mapname<td>Attempts to nominate a map.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say cancel .mapname<td>Cancels the nomination of a map if you did nominate it.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say .mapname<td>If map is nominated by you, it cancells the nomination. Else it attempts to nominate it.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say /rules<td>Displays rules in a<font color=#EEC910> MOTD</color>.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say /servers<td>Shows a list of all<font color=#fff> Serbia XJ</color> servers.<td>Status:<font color=#FF0000> OFF</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say /time .nick<td>Displays how many rounds and how long a player have played. No nick is you.<td>Status:<font color=#00FF15> ON</color>")
iLen += format(g_sBuffer[iLen], 1536 - iLen, "<tr><td>say /timetop<td>Displays the Play Time Top in a<font color=#EEC910> MOTD</color>.<td>Status:<font color=#00FF15> ON</color>")
show_motd(id, g_sBuffer, "Server Commands")
return PLUGIN_CONTINUE;
}
Results:
But i need all commands in motd..