Raised This Month: $ Target: $400
 0% 

[Solved] squares in motd text


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pRED*
Join Date: Dec 2006
Old 05-22-2007 , 19:47   Re: squares in motd text
Reply With Quote #9

Code:
/*     <a href="http://www.mo0seclan.xanimos.com>     (c) THC aka Da_sk8rboy - Brit Jamerson. */ #include <amxmodx> #include <amxmisc> /*       This is not a mod specific plugin;       but it is based on an recommended       to be used on TSRP servers for noobs       that DM an fail at rp...       an for the people that don't know what       DM is: DM = Deathmatch. */ static PLUGIN[] ="Whos a DMer?" static AUTHOR[] ="THC" static VERSION[] ="1.0" static const string[] = "Nick:%s DMs: %i<br>" public plugin_init() {         register_plugin(PLUGIN, VERSION, AUTHOR)         register_clcmd("say !dmer", "cmd_dm")         register_clcmd("say_team !dmer", "cmd_dm") } public cmd_dm(id) {         new players[32], num         get_players(players, num)         new frags, name[32], message[2048],tempstring[64]         new player         //motd stuff     format(message,2048,"<html><font size=^"2^" face=^"verdana^" color=^"FFFFFF^">")     for(new i = 0; i < num; i++)         {                 player = players[i]                         frags =  get_user_frags(id)                 get_user_name(player, name, 31)                 if(frags > 0)                     format(tempstring,63,string,name,frags)         add(message,2048,tempstring);         }         add(message,2048,"</font></html>");     show_motd(id, message,"MOTD TITLE!") }

Lol im sure you could have fixed it yourself. Was two typos...
pRED* is offline
 



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 10:37.


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