{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
entity client;
float accepted;
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
if(warmup_stage)
{
ReadyRestart(true);
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
string reason = argv(1);
int n = 0;
FOREACH_CLIENT(IS_PLAYER(it) && IS_REAL_CLIENT(it), {
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
entity client = GetIndexedEntity(argc, 1);
float accepted = VerifyClientEntity(client, false, false);
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
entity bot;
if (argv(1) == "reset")
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
string result1 = (argv(2) ? strcat("^7", argv(1)) : "^1HEADS");
string result2 = (argv(2) ? strcat("^7", argv(2)) : "^4TAILS");
string choice = ((random() > 0.5) ? result1 : result2);
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
entity client;
float accepted;
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
int n = 0;
int argc;
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
changematchtime(autocvar_timelimit_increment * 60, autocvar_timelimit_min * 60, autocvar_timelimit_max * 60);
return;
}
{
if (!world_initialized)
{
- LOG_INFOF("This command works only when the server is running.");
+ LOG_HELPF("This command works only when the server is running.");
return;
}
if (argv(1) != "")
{
if (!world_initialized)
{
- LOG_INFOF("This command works only when the server is running.");
+ LOG_HELPF("This command works only when the server is running.");
return;
}
if (argv(1))
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
if (teamplay)
{
lockteams = 1;
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
float accepted;
entity client;
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
blockSpectators = 1;
// give every spectator <g_maxplayers_spectator_blocktime> seconds time to become a player
FOREACH_CLIENT(IS_REAL_CLIENT(it) && (IS_SPEC(it) || IS_OBSERVER(it)) && !INGAME(it), {
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
DumpStats(false);
LOG_INFO("stats dumped.");
return;
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
changematchtime(autocvar_timelimit_decrement * -60, autocvar_timelimit_min * 60, autocvar_timelimit_max * 60);
return;
}
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
if (shuffleteams_on_reset_map)
{
bprint("Players will be shuffled when this round is over.\n");
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
ReadyRestart(false);
return;
}
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
if (argv(2))
{
entity client = GetIndexedEntity(argc, 1);
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
if (teamplay)
{
lockteams = 0;
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
if (autocvar_g_campaign)
{
if (argc >= 2)
{
case CMD_REQUEST_COMMAND:
{
+ if (!world_initialized)
+ {
+ LOG_HELPF("This command works only when the server is running.");
+ return;
+ }
return;
}