Go to the source code of this file.
◆ ClientCommand_macro_write_aliases()
void ClientCommand_macro_write_aliases |
( |
float |
fh | ) |
|
Definition at line 852 of file cmd.qc.
References CLIENT_COMMANDS, and NULL.
Referenced by GENERIC_COMMAND().
854 #define CLIENT_COMMAND(name, function, description) \ 855 { CMD_Write_Alias("qc_cmd_cmd", name, description); } 858 #undef CLIENT_COMMAND #define CLIENT_COMMANDS(ent, request, arguments, command)
◆ MapVote_Suggest()
Definition at line 119 of file mapvoting.qc.
References autocvar_g_maplist_votable_suggestions, autocvar_g_maplist_votable_suggestions_override_mostrecent, autocvar_sv_eventlog, autocvar_sv_vote_gametype, floor(), ftos(), GameLogEcho(), gametypevote, GameTypeVote_MapInfo_FixName(), Map_IsRecent(), MapInfo_CheckMap(), mapvote_initialized, mapvote_suggestion_ptr, mapvote_suggestions, playerid, random(), strcat(), strunzone(), and strzone().
Referenced by ClientCommand_suggestmap().
123 return "That's not how to use this command.";
125 return "Suggestions are not accepted on this server.";
128 return "Can't suggest - voting is already in progress!";
131 return "The map you suggested is not available on this server.";
134 return "This server does not allow for recent maps to be played again. Please be patient for some rounds.";
138 return "The map you suggested does not support the current game mode.";
141 return "This map was already suggested.";
142 if(mapvote_suggestion_ptr >= MAPVOTE_COUNT)
149 mapvote_suggestion_ptr += 1;
156 return strcat(
"Suggestion of ", m,
" accepted.");
bool autocvar_g_maplist_votable_suggestions
int mapvote_suggestion_ptr
string mapvote_suggestions[MAPVOTE_COUNT]
string GameTypeVote_MapInfo_FixName(string m)
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
void GameLogEcho(string s)
float MapInfo_CheckMap(string s)
bool Map_IsRecent(string m)
bool autocvar_g_maplist_votable_suggestions_override_mostrecent
float mapvote_initialized
bool autocvar_sv_eventlog
bool autocvar_sv_vote_gametype
◆ autocvar_sv_clientcommand_antispam_count
int autocvar_sv_clientcommand_antispam_count |
◆ autocvar_sv_clientcommand_antispam_time
float autocvar_sv_clientcommand_antispam_time |
◆ cmd_floodcount
Definition at line 7 of file cmd.qh.
◆ cmd_floodtime
Definition at line 6 of file cmd.qh.