|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "sv_cmd.qh"#include <common/constants.qh>#include <common/effects/all.qh>#include <common/gametypes/_mod.qh>#include <common/mapinfo.qh>#include <common/monsters/sv_monsters.qh>#include <common/net_linked.qh>#include <common/notifications/all.qh>#include <common/teams.qh>#include <common/util.qh>#include <server/anticheat.qh>#include <server/bot/api.qh>#include <server/campaign.qh>#include <server/client.qh>#include <server/command/_mod.qh>#include <server/command/banning.qh>#include <server/command/cmd.qh>#include <server/command/common.qh>#include <server/command/getreplies.qh>#include <server/command/radarmap.qh>#include <server/intermission.qh>#include <server/ipban.qh>#include <server/mapvoting.qh>#include <server/mutators/_mod.qh>#include <server/player.qh>#include <server/scores_rules.qh>#include <server/teamplay.qh>#include <server/world.qh>Go to the source code of this file.
Functions | |
| void | changematchtime (float delta, float mi, float ma) |
| void | GameCommand (string command) |
| void | GameCommand_adminmsg (int request, int argc) |
| void | GameCommand_allready (int request) |
| void | GameCommand_allspec (int request, int argc) |
| void | GameCommand_animbench (int request, int argc) |
| void | GameCommand_anticheat (int request, int argc) |
| void | GameCommand_bbox (int request) |
| void | GameCommand_bot_cmd (int request, int argc, string command) |
| void | GameCommand_cointoss (int request, int argc) |
| void | GameCommand_database (int request, int argc) |
| void | GameCommand_defer_clear (int request, int argc) |
| void | GameCommand_defer_clear_all (int request) |
| void | GameCommand_delrec (int request, int argc) |
| void | GameCommand_effectindexdump (int request) |
| void | GameCommand_extendmatchtime (int request) |
| void | GameCommand_gametype (int request, int argc) |
| void | GameCommand_gettaginfo (int request, int argc) |
| void | GameCommand_gotomap (int request, int argc) |
| void | GameCommand_lockteams (int request) |
| float | GameCommand_macro_command (int argc, string command) |
| void | GameCommand_macro_help () |
| float | GameCommand_macro_usage (int argc) |
| void | GameCommand_macro_write_aliases (float fh) |
| void | GameCommand_make_mapinfo (int request) |
| void | GameCommand_moveplayer (int request, int argc) |
| void | GameCommand_nextmap (int request, int argc) |
| void | GameCommand_nospectators (int request) |
| void | GameCommand_printstats (int request) |
| void | GameCommand_radarmap (int request, int argc) |
| void | GameCommand_reducematchtime (int request) |
| void | GameCommand_resetmatch (int request) |
| void | GameCommand_setbots (int request, int argc) |
| void | GameCommand_shuffleteams (int request) |
| void | GameCommand_stuffto (int request, int argc) |
| void | GameCommand_trace (int request, int argc) |
| void | GameCommand_unlockteams (int request) |
| void | GameCommand_warp (int request, int argc) |
| void | make_mapinfo_Think (entity this) |
| void | print_Effect_Index (int d, string effect_name) |
| SERVER_COMMAND (adminmsg, "Send an admin message to a client directly") | |
| SERVER_COMMAND (allready, "Ends warmup and starts the match") | |
| SERVER_COMMAND (allspec, "Force all players to spectate") | |
| SERVER_COMMAND (animbench, "Benchmark model animation (LAGS)") | |
| SERVER_COMMAND (anticheat, "Create an anticheat report for a client") | |
| SERVER_COMMAND (bbox, "Print detailed information about world size") | |
| SERVER_COMMAND (bot_cmd, "Control and send commands to bots") | |
| SERVER_COMMAND (cointoss, "Flip a virtual coin and give random result") | |
| SERVER_COMMAND (database, "Extra controls of the serverprogs database") | |
| SERVER_COMMAND (defer_clear, "Clear all queued defer commands for a specific client") | |
| SERVER_COMMAND (defer_clear_all, "Clear all queued defer commands for all clients") | |
| SERVER_COMMAND (delrec, "Delete race time record for a map") | |
| SERVER_COMMAND (effectindexdump, "Dump list of effects from code and effectinfo.txt") | |
| SERVER_COMMAND (extendmatchtime, "Increase the timelimit value incrementally") | |
| SERVER_COMMAND (gametype, "Simple command to change the active gametype") | |
| SERVER_COMMAND (gettaginfo, "Get specific information about a weapon model") | |
| SERVER_COMMAND (gotomap, "Simple command to switch to another map") | |
| SERVER_COMMAND (lockteams, "Disable the ability for players to switch or enter teams") | |
| SERVER_COMMAND (make_mapinfo, "Automatically rebuild mapinfo files") | |
| SERVER_COMMAND (moveplayer, "Change the team/status of a player") | |
| SERVER_COMMAND (nextmap, "Set/Query the next map") | |
| SERVER_COMMAND (nospectators, "Automatically remove spectators from a match") | |
| SERVER_COMMAND (printstats, "Dump eventlog player stats and other score information") | |
| SERVER_COMMAND (radarmap, "Generate a radar image of the map") | |
| SERVER_COMMAND (reducematchtime, "Decrease the timelimit value incrementally") | |
| SERVER_COMMAND (resetmatch, "Soft restart the game without changing teams; goes back to warmup if enabled") | |
| SERVER_COMMAND (setbots, "Adjust how many bots are in the match") | |
| SERVER_COMMAND (shuffleteams, "Randomly move players to different teams") | |
| SERVER_COMMAND (stuffto, "Send a command to be executed on a client") | |
| SERVER_COMMAND (trace, "Various debugging tools with tracing") | |
| SERVER_COMMAND (unlockteams, "Enable the ability for players to switch or enter teams") | |
| SERVER_COMMAND (warp, "Choose different level in campaign") | |
| void | shuffleteams () |
Definition at line 48 of file sv_cmd.qc.
References autocvar_timelimit, cvar_set(), ftos(), game_starttime, max(), min(), and time.
Referenced by GameCommand_extendmatchtime(), and GameCommand_reducematchtime().
Definition at line 1847 of file sv_cmd.qc.
References argv(), BanCommand(), BanCommand_macro_help(), BanCommand_macro_usage(), CommonCommand_macro_command(), CommonCommand_macro_help(), CommonCommand_macro_usage(), GameCommand_macro_command(), GameCommand_macro_help(), GameCommand_macro_usage(), GenericCommand(), GenericCommand_macro_help(), GenericCommand_macro_usage(), LOG_HELP, LOG_INFO, MUTATOR_CALLHOOK, NULL, strcat(), strtolower(), and tokenize_console.
Definition at line 88 of file sv_cmd.qc.
References argv(), bprint(), car(), cdr(), centerprint(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), GetCallerName(), GetClientErrorString, GetFilteredEntity(), LOG_HELP, LOG_HELPF, LOG_INFO, LOG_TRACE, MakeConsoleSafe(), NULL, playername(), sprint(), stof(), strcat(), string_null, stuffcmd, VerifyClientEntity(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 165 of file sv_cmd.qc.
References CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, LOG_INFO, ReadyRestart(), warmup_stage, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 196 of file sv_cmd.qc.
References argv(), bprint(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, FOREACH_CLIENT, ftos(), IS_PLAYER, IS_REAL_CLIENT, LOG_HELP, LOG_HELPF, LOG_INFO, PutObserverInServer(), strcat(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 869 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), f1, f2, ftos(), gettime(), GETTIME_HIRES, LOG_HELP, LOG_HELPF, LOG_INFO, model, nextent(), NULL, spawn, stof(), and weaponentities.
Referenced by SERVER_COMMAND().
Definition at line 229 of file sv_cmd.qc.
References anticheat_report_to_eventlog(), argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_HELPF, LOG_INFO, VerifyClientEntity(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 265 of file sv_cmd.qc.
References CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_INFOF, MOVE_WORLDONLY, NULL, trace_endpos, trace_startsolid, vector, and world.
Referenced by SERVER_COMMAND().
Definition at line 338 of file sv_cmd.qc.
References argv(), argv_start_index, bot_cmdhelp(), bot_fixcount(), bot_list_commands(), bot_queuecommand(), bot_resetqueues(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cvar_settemp(), entity(), fclose(), fgets(), FILE_READ, find_bot_by_name(), find_bot_by_number(), fopen(), FOREACH_CLIENT, ftos(), IS_BOT_CLIENT, localcmd(), LOG_HELP, LOG_HELPF, LOG_INFO, NULL, stof(), strcat(), substring(), tokenize_console, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 477 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, NULL, random(), Send_Notification(), strcat(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 506 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, db_close(), db_dump(), db_load(), db_save(), LOG_HELP, LOG_HELPF, LOG_INFO, and ServerProgsDB.
Referenced by SERVER_COMMAND().
Definition at line 549 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_HELPF, LOG_INFO, playername(), stuffcmd, VerifyClientEntity(), and world_initialized.
Referenced by GameCommand_defer_clear_all(), and SERVER_COMMAND().
Definition at line 591 of file sv_cmd.qc.
References CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, etof, FOREACH_CLIENT, ftos(), GameCommand_defer_clear(), LOG_HELP, LOG_HELPF, LOG_INFO, strcat(), tokenize_console, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 625 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, GetMapname(), LOG_HELP, LOG_HELPF, race_deleteTime(), and stof().
Referenced by SERVER_COMMAND().
Definition at line 659 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, db_close(), db_create(), db_get(), db_put(), fgets(), FILE_READ, fopen(), ftos(), LOG_HELP, LOG_INFO, print_Effect_Index(), and tokenize_console.
Referenced by SERVER_COMMAND().
Definition at line 738 of file sv_cmd.qc.
References autocvar_timelimit_increment, autocvar_timelimit_max, autocvar_timelimit_min, changematchtime(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 764 of file sv_cmd.qc.
References argv(), bprint(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, GameTypeVote_SetGametype(), LOG_HELP, LOG_HELPF, MapInfo_Type_FromString(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 805 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), ftos(), gettagindex, gettaginfo, gettaginfo_forward, gettaginfo_name, gettaginfo_offset, gettaginfo_parent, gettaginfo_right, gettaginfo_up, localcmd(), LOG_HELP, LOG_HELPF, LOG_INFO, model, nextent(), NULL, spawn, stof(), strcat(), substring(), vector, vtos(), and weaponentities.
Referenced by SERVER_COMMAND().
Definition at line 928 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, GotoMap(), LOG_HELP, LOG_HELPF, LOG_INFO, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 958 of file sv_cmd.qc.
References bprint(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, FOREACH_CLIENT, lockteams, LOG_HELP, LOG_HELPF, NULL, Send_Notification(), teamplay, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1816 of file sv_cmd.qc.
References argv(), FOREACH, and strtolower().
Referenced by GameCommand().
| void GameCommand_macro_help | ( | ) |
Definition at line 1826 of file sv_cmd.qc.
References argv(), FOREACH, and strtolower().
Referenced by GameCommand().
Definition at line 1836 of file sv_cmd.qc.
References CMD_Write_Alias, and FOREACH.
Referenced by GENERIC_COMMAND().
Definition at line 994 of file sv_cmd.qc.
References CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), LOG_HELP, make_mapinfo_Think(), MapInfo_Enumerate(), setthink, and time.
Referenced by SERVER_COMMAND().
Definition at line 1020 of file sv_cmd.qc.
References argv(), bprint(), car(), cdr(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), etof, ftos(), GetClientErrorString, GetFilteredEntity(), INGAME, IS_OBSERVER, IS_SPEC, IsTeamAvailable(), LOG_HELP, LOG_HELPF, LOG_INFO, MoveToTeam(), Player_GetForcedTeamIndex(), Player_SetForcedTeamIndex(), playername(), PutObserverInServer(), strcat(), string_null, Team_ColoredFullName, Team_ColorToTeam(), TEAM_FORCE_DEFAULT, Team_IndexToTeam(), Team_TeamToIndex(), TeamBalance_CheckAllowedTeams(), TeamBalance_Destroy(), TeamBalance_FindBestTeam(), TeamBalance_IsTeamAllowed(), teamplay, VerifyClientEntity(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1174 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, get_nextmap, LOG_HELP, NULL, Set_NextMap(), and ValidateMap().
Referenced by SERVER_COMMAND().
Definition at line 1210 of file sv_cmd.qc.
References CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cvar_settemp(), LOG_HELP, LOG_HELPF, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1237 of file sv_cmd.qc.
References CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, DumpStats(), LOG_HELP, LOG_HELPF, LOG_INFO, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1263 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, and RadarMap_Make().
Referenced by SERVER_COMMAND().
Definition at line 1285 of file sv_cmd.qc.
References autocvar_timelimit_decrement, autocvar_timelimit_max, autocvar_timelimit_min, changematchtime(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1413 of file sv_cmd.qc.
References CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, ReadyRestart(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1311 of file sv_cmd.qc.
References argv(), bot_fixcount(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, cvar_settemp(), LOG_HELP, and LOG_HELPF.
Referenced by SERVER_COMMAND().
Definition at line 1381 of file sv_cmd.qc.
References bprint(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, shuffleteams(), shuffleteams_on_reset_map, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1438 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, entity(), GetCallerName(), GetClientErrorString, GetIndexedEntity(), LOG_HELP, LOG_HELPF, LOG_INFO, next_token, strcat(), stuffcmd, VerifyClientEntity(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1492 of file sv_cmd.qc.
References argv(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, entity(), error, ftos(), LOG_HELP, LOG_HELPF, LOG_INFO, M_PI, MOVE_NOMONSTERS, MOVE_NORMAL, nextent(), normalize(), NULL, org, particleeffectnum, PL_MAX_CONST, PL_MIN_CONST, random(), randomvec(), rint(), stof(), stov(), trace_endpos, trace_fraction, trace_startsolid, tracewalk(), vector, vlen(), vtos(), and world.
Referenced by SERVER_COMMAND().
Definition at line 1668 of file sv_cmd.qc.
References bprint(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, lockteams, LOG_HELP, LOG_HELPF, NULL, Send_Notification(), teamplay, and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 1702 of file sv_cmd.qc.
References argv(), autocvar_g_campaign, CampaignLevelWarp(), CMD_REQUEST_COMMAND, CMD_REQUEST_USAGE, LOG_HELP, LOG_HELPF, LOG_INFO, stof(), and world_initialized.
Referenced by SERVER_COMMAND().
Definition at line 32 of file sv_cmd.qc.
References _MapInfo_FilterGametype(), entity(), LOG_INFO, make_mapinfo_Think(), MapInfo_CurrentFeatures(), MapInfo_CurrentGametype(), MapInfo_FilterGametype(), MapInfo_ForbiddenFlags(), MapInfo_RequiredFlags(), MAPINFO_TYPE_ALL, nextthink, setthink, and time.
Referenced by GameCommand_make_mapinfo(), and make_mapinfo_Think().
| SERVER_COMMAND | ( | adminmsg | , |
| "Send an admin message to a client directly" | ) |
Definition at line 1778 of file sv_cmd.qc.
References GameCommand_adminmsg().
| SERVER_COMMAND | ( | allready | , |
| "Ends warmup and starts the match" | ) |
Definition at line 1779 of file sv_cmd.qc.
References GameCommand_allready().
| SERVER_COMMAND | ( | allspec | , |
| "Force all players to spectate" | ) |
Definition at line 1780 of file sv_cmd.qc.
References GameCommand_allspec().
| SERVER_COMMAND | ( | animbench | , |
| "Benchmark model animation (LAGS)" | ) |
Definition at line 1782 of file sv_cmd.qc.
References GameCommand_animbench().
| SERVER_COMMAND | ( | anticheat | , |
| "Create an anticheat report for a client" | ) |
Definition at line 1781 of file sv_cmd.qc.
References GameCommand_anticheat().
| SERVER_COMMAND | ( | bbox | , |
| "Print detailed information about world size" | ) |
Definition at line 1783 of file sv_cmd.qc.
References GameCommand_bbox().
| SERVER_COMMAND | ( | bot_cmd | , |
| "Control and send commands to bots" | ) |
Definition at line 1784 of file sv_cmd.qc.
References bot_cmd, and GameCommand_bot_cmd().
| SERVER_COMMAND | ( | cointoss | , |
| "Flip a virtual coin and give random result" | ) |
Definition at line 1785 of file sv_cmd.qc.
References GameCommand_cointoss().
| SERVER_COMMAND | ( | database | , |
| "Extra controls of the serverprogs database" | ) |
Definition at line 1786 of file sv_cmd.qc.
References GameCommand_database().
Definition at line 1787 of file sv_cmd.qc.
References GameCommand_defer_clear().
Definition at line 1788 of file sv_cmd.qc.
References GameCommand_defer_clear_all().
Definition at line 1789 of file sv_cmd.qc.
References GameCommand_delrec().
| SERVER_COMMAND | ( | effectindexdump | , |
| "Dump list of effects from code and effectinfo.txt" | ) |
Definition at line 1790 of file sv_cmd.qc.
References GameCommand_effectindexdump().
| SERVER_COMMAND | ( | extendmatchtime | , |
| "Increase the timelimit value incrementally" | ) |
Definition at line 1791 of file sv_cmd.qc.
References GameCommand_extendmatchtime().
Definition at line 1792 of file sv_cmd.qc.
References GameCommand_gametype(), and gametype.
| SERVER_COMMAND | ( | gettaginfo | , |
| "Get specific information about a weapon model" | ) |
Definition at line 1793 of file sv_cmd.qc.
References GameCommand_gettaginfo(), and gettaginfo.
| SERVER_COMMAND | ( | gotomap | , |
| "Simple command to switch to another map" | ) |
Definition at line 1794 of file sv_cmd.qc.
References GameCommand_gotomap().
Definition at line 1795 of file sv_cmd.qc.
References GameCommand_lockteams(), and lockteams.
| SERVER_COMMAND | ( | make_mapinfo | , |
| "Automatically rebuild mapinfo files" | ) |
Definition at line 1796 of file sv_cmd.qc.
References GameCommand_make_mapinfo().
| SERVER_COMMAND | ( | moveplayer | , |
| "Change the team/status of a player" | ) |
Definition at line 1797 of file sv_cmd.qc.
References GameCommand_moveplayer().
| SERVER_COMMAND | ( | nextmap | , |
| "Set/Query the next map" | ) |
Definition at line 1798 of file sv_cmd.qc.
References GameCommand_nextmap().
| SERVER_COMMAND | ( | nospectators | , |
| "Automatically remove spectators from a match" | ) |
Definition at line 1799 of file sv_cmd.qc.
References GameCommand_nospectators().
| SERVER_COMMAND | ( | printstats | , |
| "Dump eventlog player stats and other score information" | ) |
Definition at line 1800 of file sv_cmd.qc.
References GameCommand_printstats().
| SERVER_COMMAND | ( | radarmap | , |
| "Generate a radar image of the map" | ) |
Definition at line 1801 of file sv_cmd.qc.
References GameCommand_radarmap().
| SERVER_COMMAND | ( | reducematchtime | , |
| "Decrease the timelimit value incrementally" | ) |
Definition at line 1802 of file sv_cmd.qc.
References GameCommand_reducematchtime().
| SERVER_COMMAND | ( | resetmatch | , |
| "Soft restart the game without changing teams; goes back to warmup if enabled" | ) |
Definition at line 1803 of file sv_cmd.qc.
References GameCommand_resetmatch().
| SERVER_COMMAND | ( | setbots | , |
| "Adjust how many bots are in the match" | ) |
Definition at line 1804 of file sv_cmd.qc.
References GameCommand_setbots().
| SERVER_COMMAND | ( | shuffleteams | , |
| "Randomly move players to different teams" | ) |
Definition at line 1805 of file sv_cmd.qc.
References GameCommand_shuffleteams(), and shuffleteams().
| SERVER_COMMAND | ( | stuffto | , |
| "Send a command to be executed on a client" | ) |
Definition at line 1806 of file sv_cmd.qc.
References GameCommand_stuffto().
| SERVER_COMMAND | ( | trace | , |
| "Various debugging tools with tracing" | ) |
Definition at line 1807 of file sv_cmd.qc.
References GameCommand_trace().
Definition at line 1808 of file sv_cmd.qc.
References GameCommand_unlockteams().
| SERVER_COMMAND | ( | warp | , |
| "Choose different level in campaign" | ) |
Definition at line 1809 of file sv_cmd.qc.
References GameCommand_warp().
| void shuffleteams | ( | ) |
Definition at line 1339 of file sv_cmd.qc.
References bprint(), entity(), Entity_GetTeamIndex(), FOREACH_CLIENT, FOREACH_CLIENT_RANDOM, INGAME, IS_PLAYER, LOG_INFO, max(), MoveToTeam(), NULL, NUM_TEAMS, Player_HasRealForcedTeam(), TeamBalance_CheckAllowedTeams(), TeamBalance_Destroy(), TeamBalance_IsTeamAllowed(), and teamplay.
Referenced by GameCommand_shuffleteams(), reset_map(), and SERVER_COMMAND().