case TIMEOUT_LEADTIME:
{
- if (timeout_leadtime > 0) // countdown is still going
+ if(timeout_leadtime > 0) // countdown is still going
{
// centerprint the information to every player
FOR_EACH_REALPLAYER(tmp_player)
{
case CMD_REQUEST_COMMAND:
{
- if(autocvar_sv_timeout)
+ if(!caller || autocvar_sv_timeout)
{
if not(timeout_status) { print_to(caller, "^7Error: There is no active timeout called."); }
else if(caller && (caller != timeout_caller)) { print_to(caller, "^7Error: You are not allowed to stop the active timeout."); }
}
}
}
+ else { print_to(caller, "^1Timeins are not allowed to be called, enable them with sv_timeout 1.\n"); }
+
return; // never fall through to usage
}
{
case CMD_REQUEST_COMMAND:
{
- if(autocvar_sv_timeout)
+ if(!caller || autocvar_sv_timeout)
{
float last_possible_timeout = ((autocvar_timelimit * 60) - autocvar_sv_timeout_leadtime - 1);
Announce("timeoutcalled");
}
}
+ else { print_to(caller, "^1Timeouts are not allowed to be called, enable them with sv_timeout 1.\n"); }
+
return; // never fall through to usage
}