Raised This Month: $ Target: $400
 0% 

How can i make a motd how this?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ending
Junior Member
Join Date: May 2010
Old 07-01-2010 , 09:56   How can i make a motd how this?
Reply With Quote #1

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(motdsizeof 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(idmotd"Something");
    
    
    return 
PLUGIN_HANDLED

Ending is offline
JaGareN
Senior Member
Join Date: Mar 2009
Old 07-01-2010 , 11:51   Re: How can i make a motd how this?
Reply With Quote #2

http://www.w3schools.com/html/html_tables.asp
JaGareN is offline
Ending
Junior Member
Join Date: May 2010
Old 07-01-2010 , 13:57   Re: How can i make a motd how this?
Reply With Quote #3

Quote:
Originally Posted by JaGareN View Post
Thanks =)
Ending is offline
JaGareN
Senior Member
Join Date: Mar 2009
Old 07-01-2010 , 17:57   Re: How can i make a motd how this?
Reply With Quote #4

Btw, your format is wrong
Do it like this instead
PHP Code:
len += format(motd[len], sizeof (motd) - len"<table>");
//etc... 
JaGareN 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 23:43.


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