Oh i see. So like this:
Code:
//motd stuff
for(new i = 0; i < num; i++)
{
player = players[i]
frags = get_user_frags(player)
get_user_name(player, name, 31)
if(frags > 0)
static const string[] ="Nick:%s DMs: %i",name,frags"
}
show_motd(id, message)
}
?
EDIT:
That does not compile;
Code:
/home/groups/amxmodx/tmp3/text1fs4pv.sma(45) : error 003: declaration of a local variable must appear in a compound block
/home/groups/amxmodx/tmp3/text1fs4pv.sma(45) : error 001: expected token: "=", but found "["
/home/groups/amxmodx/tmp3/text1fs4pv.sma(45) : error 029: invalid expression, assumed zero
__________________