Hns motd Text
How to get bigger text in this? Thanks :D
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 } |
Re: Hns motd Text
I don't know anything about php, but you can set the font size bigger using php programming language.
|
Re: Hns motd Text
Quote:
|
Re: Hns motd Text
PHP Code:
|
Re: Hns motd Text
Thanks veco, really nice! :D Maybe you can help me with another plugin and change the color?
|
| All times are GMT -4. The time now is 15:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.