table in motd window
hey
i will show a table with the attackers with name,hits and damage. here is the code for to show the motd window Code:
but it will it not show correct. I`m not so good at scripting I just look at other plugins and try to put the things correctly together. Here is a picture of th motd window http://88.198.51.140/myhits.jpg it should show the name in one line not on 3. Pleaze Help :) |
Re: table in motd window
in your html width values, try using pixels instead of percents..
ie.. Code:
new len = format( buffer, 2047, "<table border=1 cellspacing=1 cellpadding=10 width=400 align=center>") |
Re: table in motd window
ok thanks for that
now the table has a firm size Code:
When your name is "Ch3cker need help" it shows it like this: Code:
http://88.198.51.140/myhits2.jpg |
Re: table in motd window
Just as a thought, you could try string replacing " " with " " but I've no idea if it would actually help.
EDIT: That is, I'm fairly sure it should help ... "nbsp" = "non-breaking space" so I assume "non-breaking" means it won't break a line on this space. |
Re: table in motd window
hmmmm..
I'm not sure man... I see you have something that kinda worked here; http://forums.alliedmods.net/showthr...ht=format+motd anyway,, gonna need someone who knows about formatting (which I do not) |
Re: table in motd window
yes
this works good but i want to show these things in a nice styled table :( hmmm..... |
Re: table in motd window
Quote:
|
Re: table in motd window
When you print the name, replace spaces with " "
|
Re: table in motd window
" " means "non breaking space" in HTML, meaning that a browser or in your case the MOTD will not try to break for a newline there.
|
Re: table in motd window
hmm i see
but how can i change the space in the name with " " ? i think 4 something like this: Code:
so i dont know the replace line. and sorry i was very bussy |
| All times are GMT -4. The time now is 21:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.