Raised This Month: $ Target: $400
 0% 

MOTD Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SXJ Team.
Junior Member
Join Date: Jun 2014
Old 09-18-2014 , 18:08   MOTD Problem
Reply With Quote #1

I need help with this..

PHP Code:
new g_szBuffer[1537]

public 
SayCommands(id) {

new 
iLen 0;
iLen format(g_sBuffer[iLen], 1536Style)
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(idg_sBuffer"Server Commands")

return 
PLUGIN_CONTINUE;

Results:

But i need all commands in motd..

Last edited by YamiKaitou; 09-18-2014 at 19:53.
SXJ Team. is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 09-18-2014 , 18:23   Re: MOTD Problem
Reply With Quote #2

You exceeded the MOTD chars limit, so you will need to use a url with a HTML file.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 02-12-2016 at 20:09.
wickedd is offline
SXJ Team.
Junior Member
Join Date: Jun 2014
Old 09-18-2014 , 18:40   Re: MOTD Problem
Reply With Quote #3

Ok, thanks.
SXJ Team. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode