Raised This Month: $ Target: $400
 0% 

Hns motd Text


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mattiiias93
Member
Join Date: Mar 2012
Old 07-11-2012 , 13:28   Hns motd Text
Reply With Quote #1

How to get bigger text in this? Thanks


public show_top15(id)
{
new i, count;
static sort[33][2], maxPlayers;

if(!maxPlayers) maxPlayers = get_maxplayers();

for(i=1;i<=maxPlayers;i++)
{
sort[count][0] = i;
sort[count][1] = TotalPlayedTime[i] + (get_user_time(i, 1) / 60);
count++;
}

SortCustom2D(sort,count,"stats_custom_compare ");

new motd[1024], len

len = format(motd, 1023,"<body bgcolor=#00>C><font color=#FF000><pre>")
len += format(motd[len], 1023-len,"%s %-22.22s %3s^n", "#", "Name", "Time")

new players[32], num
get_players(players, num)

new b = clamp(count,0,15)

new name[32], player

for(new a = 0; a < b; a++)
{
player = sort[a][0]

get_user_name(player, name, 31)
len += format(motd[len], 1023-len,"%d %-22.22s %d^n", a+1, name, sort[a][1])
}

len += format(motd[len], 1023-len,"</body></font></pre>")
show_motd(id, motd, "Played Time Top 15")

return PLUGIN_CONTINUE
}
mattiiias93 is offline
 


Thread Tools
Display Modes

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 15:03.


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