return selection;
}
-// same thing, but instead return their edict number
-float GetFilteredNumber(string input)
-{
- entity selection = GetFilteredEntity(input);
- float output;
-
- output = etof(selection);
-
- return output;
-}
-
// switch between sprint and print depending on whether the receiver is the server or a player
void print_to(entity to, string input)
{
default:
case CMD_REQUEST_USAGE:
{
- print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " records"));
- print_to(caller, " No arguments required.");
+ print_to(caller, strcat("\nUsage:^3 ", GetCommandPrefix(caller), " records [<pagenum>]"));
+ print_to(caller, " Without arguments it prints all records (all pages) for the current gametype,");
+ print_to(caller, " otherwise if there are multiple pages it only prints page <pagenum> (1..10),");
return;
}
}
timeout_status = TIMEOUT_INACTIVE;
timeout_time = 0;
timeout_handler.nextthink = time; // timeout_handler has to take care of it immediately
+ Kill_Notification(NOTIF_ALL, NULL, MSG_CENTER, CPID_TIMEOUT);
bprint(strcat("^7The timeout was aborted by ", GetCallerName(caller), " !\n"));
return;
}