Hey, something wrong here:
#1 -
with charsmax - Not showing properly:
CheezPuff has used command.
Code:
case MAP_MENU, KICK_MENU, BAN_MENU, SLAP_MENU, TEAM_MENU, GMENU:
{
new menu[64];
parse( CommandsName[ command ], charsmax( menu ) ); // what wrong with charsmax?
ColorChat( 0, "^3%s^1 has used ^4%s^1 command.",NameSz, menu)
client_cmd( client, "amx_%smenu", menu );
}
#2 -
without charsmax - work good than #1 > i can see in chat
CheezPuff has used Map Menu command.
Code:
case MAP_MENU, KICK_MENU, BAN_MENU, SLAP_MENU, TEAM_MENU, GMENU:
{
new menu[64];
parse( CommandsName[ command ], menu, 63 ); // is work good with menu, 63
ColorChat( 0, "^3%s^1 has used ^4%s^1 command.",NameSz, menu)
client_cmd( client, "amx_%smenu", menu );
}