}
default:
- {
- LOG_INFO("Incorrect parameters for ^2boxparticles^7");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP(
- "Usage:^3 lv_cmd boxparticles effectname own org_from org_to, dir_from, dir_to, countmultiplier, flags\n"
+ "Usage:^3 cl_cmd boxparticles effectname own org_from org_to, dir_from, dir_to, countmultiplier, flags\n"
" 'effectname' is the name of a particle effect in effectinfo.txt\n"
" 'own' is the entity number of the owner (negative for csqc ent, positive for svqc ent)\n"
" 'org_from' is the starting origin of the box\n"
}
default:
- {
- LOG_INFO("Incorrect parameters for ^2handlevote^7");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 cl_cmd handlevote vote");
}
default:
- {
- LOG_INFO("Incorrect parameters for ^2hud^7");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 cl_cmd hud action [configname | radartoggle | layout]");
}
default:
- {
- LOG_INFO("Incorrect parameters for ^2localprint^7");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 cl_cmd localprint \"message\"");
}
default:
- {
- LOG_INFO("Incorrect parameters for ^2mv_download^7");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 cl_cmd mv_download mapid");
}
default:
- {
- LOG_INFO("Incorrect parameters for ^2sendcvar^7");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 cl_cmd sendcvar <cvar>");
}
default:
- LOG_INFO("Incorrect parameters for ^2addtolist^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " addtolist variable value");
}
default:
- LOG_INFO("Incorrect parameters for ^2maplist^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " maplist action [map]");
}
default:
- LOG_INFO("Incorrect parameters for ^2removefromlist^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " removefromlist variable value");
}
default:
- LOG_INFO("Incorrect parameters for ^2settemp^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " settemp \"cvar\" \"arguments\"");
}
default:
- {
- LOG_INFO("Incorrect parameters for ^2find^7");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 " GetProgramCommandPrefix() " find classname");
}
default:
- LOG_INFO("Incorrect parameters for ^2findat^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 " GetProgramCommandPrefix() " findat \"x y z\"");
});
}
default:
- {
- LOG_INFOF("Incorrect parameters for ^2%s^7", "weapon_find");
- }
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 cl_cmd weapon_find weapon");
}
default:
- LOG_INFO("Incorrect parameters for ^2ban^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd ban address [bantime] [reason]");
}
default:
- LOG_INFO("Incorrect parameters for ^2kickban^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd kickban client [bantime] [masksize] [reason]");
}
default:
- LOG_INFO("Incorrect parameters for ^2mute^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd mute client");
}
default:
- LOG_INFO("Incorrect parameters for ^2mute^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd unmute client");
}
default:
- sprint(caller, "Incorrect parameters for ^2autoswitch^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd autoswitch selection\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2clientversion^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd clientversion version\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2mv_getpicture^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd mv_getpicture mapid\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2wpeditor^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd wpeditor action\n");
return;
}
default:
- sprint(caller, "Incorrect parameters for ^2selectteam^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd selectteam team\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2selfstuff^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd selfstuff <command>\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2sentcvar^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd sentcvar <cvar>\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2suggestmap^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd suggestmap map\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2tell^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd tell client <message>\n");
}
default:
- sprint(caller, "Incorrect parameters for ^2voice^7\n");
+ sprint(caller, sprintf("Incorrect parameters for ^2%s^7\n", argv(0)));
case CMD_REQUEST_USAGE:
{
sprint(caller, "\nUsage:^3 cmd voice messagetype <soundname>\n");
}
default:
- LOG_INFO("Incorrect parameters for ^2adminmsg^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd adminmsg clients \"message\" [infobartime]");
}
default:
- LOG_INFO("Incorrect parameters for ^2anticheat^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd anticheat client");
}
default:
- LOG_INFO("Incorrect parameters for ^2bot_cmd^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd bot_cmd client command [argument]");
}
default:
- LOG_INFO("Incorrect parameters for ^2database^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd database action filename");
}
default:
- LOG_INFO("Incorrect parameters for ^2defer_clear^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd defer_clear client");
}
default:
- LOG_INFO("Incorrect parameters for ^2delrec^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd delrec ranking [map]");
}
default:
- LOG_INFO("Incorrect parameters for ^2gametype^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd gametype mode");
}
default:
- LOG_INFO("Incorrect parameters for ^2gettaginfo^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd gettaginfo model frame index [command one] [command two]");
}
default:
- LOG_INFO("Incorrect parameters for ^2gettaginfo^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd gettaginfo model frame index [command one] [command two]");
}
default:
- LOG_INFO("Incorrect parameters for ^2gotomap^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd gotomap map");
}
default:
- LOG_INFO("Incorrect parameters for ^2moveplayer^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd moveplayer clients destination");
}
default:
- LOG_INFO("Incorrect parameters for ^2radarmap^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd radarmap [--force] [--loop] [--quit] [--block | --trace | --sample | --lineblock] [--sharpen N] [--res W H] [--qual Q]");
}
default:
- LOG_INFO("Incorrect parameters for ^2setbots^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd setbots botnumber");
}
default:
- LOG_INFO("Incorrect parameters for ^2stuffto^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd stuffto client \"command\"");
}
default:
- LOG_INFO("Incorrect parameters for ^2trace^7");
+ LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0));
case CMD_REQUEST_USAGE:
{
LOG_HELP("Usage:^3 sv_cmd trace command [startpos endpos] [endpos_height]");