Raised This Month: $ Target: $400
 0% 

HTML


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-08-2013 , 09:42   HTML
Reply With Quote #1

I need help with html code
here is my html code:
Code:
public CmdPlayerInfo(id) {
new iMenu = menu_create("\d[Achievements]\y Hide 'N' Seek^n\rBy SnusMumrikeN\y", "handlePlayerMenu");
new iPlayers[32], iNum, iPlayer, szName[32], szKey[4];
get_players(iPlayers, iNum);
new szMenuKey[128];
for( new i; i < iNum; i++ )
    {
        iPlayer = iPlayers[i];
 new percent = 100 * iAchLevel[id][i]/iAchPoints[i]
        get_user_name(iPlayer, szName, charsmax(szName));
        format(szMenuKey,127,"\r%s \d[%d%%] ^n\w",szName,percent);
        num_to_str(iPlayer, szKey, charsmax(szKey));
        menu_additem(iMenu, szMenuKey, szKey);
    }   
menu_setprop(iMenu, MPROP_EXITNAME, "Exit");
menu_display(id, iMenu, 0);
}
public handlePlayerMenu(id, iMenu, iItem)
{
if( iItem == MENU_EXIT )
{
 menu_destroy(iMenu);
 return PLUGIN_HANDLED;
}
new szData[6], iAccess, iCallback;
menu_item_getinfo(iMenu, iItem, iAccess, szData, charsmax(szData), _, _, iCallback);
new i = str_to_num(szData);
new szAuth[35], szName[32];
get_user_authid(i, szAuth, charsmax(szAuth));
get_user_name(i, szName, charsmax(szName));
static szMotd[30000];
new iLen = formatex(szMotd, charsmax(szMotd), "<html>");
iLen = formatex(szMotd[iLen], charsmax(szMotd)-iLen,"<STYLE>body{background:#212121;color:#d1d1d1;font-family:Arial}table{width:100%%;font-size:11px}</STYLE><table cellpadding=1>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Name <th width=10%%> Stats <th width=10%%> Percent <th width=10%%>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Addicted! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][CONNECT], iAchPoints[CONNECT], 100 * iAchLevel[id][CONNECT] / iAchPoints[CONNECT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Headsplasher! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][HEADSHOT], iAchPoints[HEADSHOT], 100 * iAchLevel[id][HEADSHOT] / iAchPoints[HEADSHOT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> HE Killer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][GRENADE], iAchPoints[GRENADE], 100 * iAchLevel[id][GRENADE] / iAchPoints[GRENADE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Bunnyhopper! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][JUMP], iAchPoints[JUMP], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Pro Bunnyhopper! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][JUMP], iAchPoints[JUMPER], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMPER]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Master Bunnyhopper! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][JUMP], iAchPoints[JUMPISH], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMPISH]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Terroist Surviver! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][SURVIVE], iAchPoints[SURVIVE], 100 * iAchLevel[id][SURVIVE] / iAchPoints[SURVIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Knifer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][KNIFE], iAchPoints[KNIFE], 100 * iAchLevel[id][KNIFE] / iAchPoints[KNIFE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Semi Knifer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][SEMI], iAchPoints[SEMI], 100 * iAchLevel[id][SEMI] / iAchPoints[SEMI]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Pro Knifer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][PRO], iAchPoints[PRO], 100 * iAchLevel[id][PRO] / iAchPoints[PRO]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> AWP Master! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][AWP], iAchPoints[AWP], 100 * iAchLevel[id][AWP] / iAchPoints[AWP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Deagle Master! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][DEAGLE], iAchPoints[DEAGLE], 100 * iAchLevel[id][DEAGLE] / iAchPoints[DEAGLE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr bgcolor=#333333><th width=5%%><align=left font color=white> Fiveseven Master! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][FIVE], iAchPoints[FIVE], 100 * iAchLevel[id][FIVE] / iAchPoints[FIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</p>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</body>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</html>");
show_motd(id,szMotd, "Achievement Player Info");
CmdPlayerInfo(id);
menu_destroy(iMenu);
return PLUGIN_HANDLED;
}
it looks like this ingame
it doesnt show evrything
it stops on pro knifer
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-08-2013 , 09:45   Re: HTML
Reply With Quote #2

and how can i make the text bigger? so it looks better
sorry i couldnt edit the other
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 01-08-2013 , 10:56   Re: HTML
Reply With Quote #3

1. MOTD has limit of max allowed chars..
2. <font size="16px">asdf</font>
__________________
sorry my bad english...

Last edited by alonelive; 01-08-2013 at 10:57.
alonelive is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-08-2013 , 11:24   Re: HTML
Reply With Quote #4

yeah the max is 1546
and i dont think this is 1546
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 01-08-2013 , 11:43   Re: HTML
Reply With Quote #5

do not post all time. use EDIT

new MOTD_header[] = "<html><head><LINK REL=^"StyleSheet^" HREF=^"your.css^" TYPE=^"text/css^"></head><body>";

use css to format style outside the code.. and no need to repeat: <tr bgcolor=#333333><th width=5%%><align=left font color=white>

just once in css file..:
tr,th,td
{
background:#333333;
width:5%;
text-align:left;
color:white;
}
also
precache_generic( "your.css" );


see example on war3ft source code for motd.
__________________
skype: pavle_ivanof
-=ThQ=-
PRIVATE SUPPORT = PAID SUPPORT

Last edited by AngeIII; 01-08-2013 at 11:44.
AngeIII is offline
Send a message via Skype™ to AngeIII
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-08-2013 , 12:11   Re: HTML
Reply With Quote #6

Like this

But where should i put the your.css file?
and it still doesnt show evrything ingame

Code:
public plugin_precache() {
 precache_sound(szAchievementSound)
 precache_generic( "your.css" );
}

Code:
//static szMotd[30000];
new szMotd[] = "<html><head><LINK REL=^"StyleSheet^" HREF=^"your.css^" TYPE=^"text/css^"></head><body>";
new iLen = formatex(szMotd, charsmax(szMotd), "<html>");
iLen = formatex(szMotd[iLen], charsmax(szMotd)-iLen,"<STYLE>body{background:#212121;color:#d1d1d1;font-family:Arial}table{width:100%%;font-size:11px}</STYLE><table cellpadding=1>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Name     <th width=10%%> Stats <th width=10%%> Percent <th width=10%%>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Addicted! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][CONNECT], iAchPoints[CONNECT], 100 * iAchLevel[id][CONNECT] / iAchPoints[CONNECT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Headsplasher! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][HEADSHOT], iAchPoints[HEADSHOT], 100 * iAchLevel[id][HEADSHOT] / iAchPoints[HEADSHOT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "HE Killer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][GRENADE], iAchPoints[GRENADE], 100 * iAchLevel[id][GRENADE] / iAchPoints[GRENADE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Bunnyhopper! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][JUMP], iAchPoints[JUMP], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Pro Bunnyhopper! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][JUMP], iAchPoints[JUMPER], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMPER]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Master Bunnyhopper! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][JUMP], iAchPoints[JUMPISH], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMPISH]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Terroist Surviver! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][SURVIVE], iAchPoints[SURVIVE], 100 * iAchLevel[id][SURVIVE] / iAchPoints[SURVIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Knifer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][KNIFE], iAchPoints[KNIFE], 100 * iAchLevel[id][KNIFE] / iAchPoints[KNIFE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Semi Knifer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][SEMI], iAchPoints[SEMI], 100 * iAchLevel[id][SEMI] / iAchPoints[SEMI]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Pro Knifer! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][PRO], iAchPoints[PRO], 100 * iAchLevel[id][PRO] / iAchPoints[PRO]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "AWP Master! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][AWP], iAchPoints[AWP], 100 * iAchLevel[id][AWP] / iAchPoints[AWP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Deagle Master! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][DEAGLE], iAchPoints[DEAGLE], 100 * iAchLevel[id][DEAGLE] / iAchPoints[DEAGLE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "Fiveseven Master! <th width=10%%> %i/%i <th width=10%%> %d <th width=10%%>", iAchLevel[i][FIVE], iAchPoints[FIVE], 100 * iAchLevel[id][FIVE] / iAchPoints[FIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</p>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</body>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</html>");
show_motd(id,szMotd, "Achievements");
CmdPlayerInfo(id);
menu_destroy(iMenu);
return PLUGIN_HANDLED;
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 01-08-2013 , 13:03   Re: HTML
Reply With Quote #7

otd)-iLen, "Name
<tr> should be before name.. and that for each row

and use simple tagd for table

<table>
<tr><td> Row1 Colm1</td><td> Row1 Colm2</td><td> Row1 Colm3</td></tr>
<tr><td> Row2 Colm1</td><td> Row2 Colm2</td><td> Row2 Colm3</td></tr>
<tr><td> Row3 Colm1</td><td> Row3 Colm2</td><td> Row3 Colm3</td></tr>
...
</table>

<html>
css
<body>
<table>
your code
</table>
</body>
</html>
but yes. something like this.
css file should be in /cstrike/ folder.
__________________
skype: pavle_ivanof
-=ThQ=-
PRIVATE SUPPORT = PAID SUPPORT

Last edited by AngeIII; 01-08-2013 at 13:05.
AngeIII is offline
Send a message via Skype™ to AngeIII
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-08-2013 , 13:38   Re: HTML
Reply With Quote #8

My your.css looks like this
Code:
tr,th,td
 {
 background:#333333;
 width:5%;
 text-align:left;
 color:white;
}
<body>
<table>
and my code look like this
Code:
//static szMotd[30000];
new szMotd[] = "<html><head><LINK REL=^"StyleSheet^" HREF=^"your.css^" TYPE=^"text/css^"></head><body>";
new iLen = formatex(szMotd, charsmax(szMotd), "<table>");
iLen = formatex(szMotd[iLen], charsmax(szMotd)-iLen,"<STYLE>body{background:#212121;color:#d1d1d1;font-family:Arial}table{width:100%%;font-size:11px}</STYLE><table cellpadding=1>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Name     </td><td> Stats </td><td> Percent </td><td>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Addicted! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][CONNECT], iAchPoints[CONNECT], 100 * iAchLevel[id][CONNECT] / iAchPoints[CONNECT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Headsplasher! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][HEADSHOT], iAchPoints[HEADSHOT], 100 * iAchLevel[id][HEADSHOT] / iAchPoints[HEADSHOT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>HE Killer! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][GRENADE], iAchPoints[GRENADE], 100 * iAchLevel[id][GRENADE] / iAchPoints[GRENADE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Bunnyhopper! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][JUMP], iAchPoints[JUMP], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Pro Bunnyhopper! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][JUMP], iAchPoints[JUMPER], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMPER]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Master Bunnyhopper! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][JUMP], iAchPoints[JUMPISH], 100 * iAchLevel[id][JUMP] / iAchPoints[JUMPISH]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Terroist Surviver! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][SURVIVE], iAchPoints[SURVIVE], 100 * iAchLevel[id][SURVIVE] / iAchPoints[SURVIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Knifer! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][KNIFE], iAchPoints[KNIFE], 100 * iAchLevel[id][KNIFE] / iAchPoints[KNIFE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Semi Knifer! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][SEMI], iAchPoints[SEMI], 100 * iAchLevel[id][SEMI] / iAchPoints[SEMI]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Pro Knifer! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][PRO], iAchPoints[PRO], 100 * iAchLevel[id][PRO] / iAchPoints[PRO]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>AWP Master! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][AWP], iAchPoints[AWP], 100 * iAchLevel[id][AWP] / iAchPoints[AWP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Deagle Master! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][DEAGLE], iAchPoints[DEAGLE], 100 * iAchLevel[id][DEAGLE] / iAchPoints[DEAGLE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen, "<tr><td>Fiveseven Master! </td><td> %i/%i </td><td> %d </td><td>", iAchLevel[i][FIVE], iAchPoints[FIVE], 100 * iAchLevel[id][FIVE] / iAchPoints[FIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</table>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</body>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen, "</html>");
show_motd(id,szMotd, "Achievements");
CmdPlayerInfo(id);
menu_destroy(iMenu);
return PLUGIN_HANDLED;
}
it stills doesnt show evrything like in that photo i postet
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 01-08-2013 , 14:18   Re: HTML
Reply With Quote #9

Code:
body{background:#212121;color:#d1d1d1;font-family:Arial}
tr,th,td
 {
 background:#333333;
 width:5%;
 text-align:left;
 color:white;
}
table{width:100%%;font-size:11px}
PHP Code:
//static szMotd[30000];
new szMotd[] = "<html><head><LINK REL=^"StyleSheet^" HREF=^"your.css^" TYPE=^"text/css^"></head><body>";
new 
iLen formatex(szMotdcharsmax(szMotd), "<table cellpadding=1>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Name     </td><td> Stats </td><td> Percent </td></tr>");
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Addicted! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][CONNECT], iAchPoints[CONNECT], 100 iAchLevel[id][CONNECT] / iAchPoints[CONNECT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Headsplasher! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][HEADSHOT], iAchPoints[HEADSHOT], 100 iAchLevel[id][HEADSHOT] / iAchPoints[HEADSHOT]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>HE Killer! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][GRENADE], iAchPoints[GRENADE], 100 iAchLevel[id][GRENADE] / iAchPoints[GRENADE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Bunnyhopper! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][JUMP], iAchPoints[JUMP], 100 iAchLevel[id][JUMP] / iAchPoints[JUMP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Pro Bunnyhopper! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][JUMP], iAchPoints[JUMPER], 100 iAchLevel[id][JUMP] / iAchPoints[JUMPER]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Master Bunnyhopper! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][JUMP], iAchPoints[JUMPISH], 100 iAchLevel[id][JUMP] / iAchPoints[JUMPISH]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Terroist Surviver! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][SURVIVE], iAchPoints[SURVIVE], 100 iAchLevel[id][SURVIVE] / iAchPoints[SURVIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Knifer! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][KNIFE], iAchPoints[KNIFE], 100 iAchLevel[id][KNIFE] / iAchPoints[KNIFE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Semi Knifer! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][SEMI], iAchPoints[SEMI], 100 iAchLevel[id][SEMI] / iAchPoints[SEMI]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Pro Knifer! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][PRO], iAchPoints[PRO], 100 iAchLevel[id][PRO] / iAchPoints[PRO]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>AWP Master! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][AWP], iAchPoints[AWP], 100 iAchLevel[id][AWP] / iAchPoints[AWP]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Deagle Master! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][DEAGLE], iAchPoints[DEAGLE], 100 iAchLevel[id][DEAGLE] / iAchPoints[DEAGLE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd)-iLen"<tr><td>Fiveseven Master! </td><td> %i/%i </td><td> %d </td></tr>"iAchLevel[i][FIVE], iAchPoints[FIVE], 100 iAchLevel[id][FIVE] / iAchPoints[FIVE]);
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen"</table>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen"</body>");
iLen += formatex(szMotd[iLen], charsmax(szMotd) - iLen"</html>");
show_motd(id,szMotd"Achievements");
CmdPlayerInfo(id);
menu_destroy(iMenu);
return 
PLUGIN_HANDLED;

__________________
skype: pavle_ivanof
-=ThQ=-
PRIVATE SUPPORT = PAID SUPPORT

Last edited by AngeIII; 01-08-2013 at 14:19.
AngeIII is offline
Send a message via Skype™ to AngeIII
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-08-2013 , 14:24   Re: HTML
Reply With Quote #10

Not working it look like this when i open the motd
Code:
</t
Name Stats Percent
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
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 13:46.


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