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...