Player commands. More...
#include "g_local.h"
#include "../shared/parse.h"
Go to the source code of this file.
Functions | |
static void | G_Players_f (const player_t *player) |
static qboolean | G_CheckFlood (player_t *player) |
Check whether the user can talk. | |
static void | G_Say_f (player_t *player, qboolean arg0, qboolean team) |
void | G_ClientCommand (player_t *player) |
Player commands.
Definition in file g_cmds.c.
Check whether the user can talk.
Definition at line 65 of file g_cmds.c.
References _, client_persistant_t::flood_locktill, flood_msgs, flood_persecond, flood_waitdelay, client_persistant_t::flood_when, client_persistant_t::flood_whenhead, G_ClientPrintf(), i, cvar_s::integer, level, player_s::pers, PRINT_CHAT, qfalse, qtrue, level_locals_t::time, and cvar_s::value.
Referenced by G_Say_f().
void G_ClientCommand | ( | player_t * | player | ) |
Definition at line 391 of file g_cmds.c.
References game_import_t::Cmd_Argv(), G_Players_f(), G_Say_f(), gi, player_s::inuse, Q_strcasecmp, qfalse, and qtrue.
Referenced by GetGameAPI().
static void G_Players_f | ( | const player_t * | player | ) | [static] |
Definition at line 32 of file g_cmds.c.
References Com_sprintf(), count, G_ClientPrintf(), game, i, player_s::inuse, client_persistant_t::netname, player_s::num, player_s::pers, game_locals_t::players, PRINT_CONSOLE, Q_strcat(), player_s::roundDone, game_locals_t::sv_maxplayersperteam, and client_persistant_t::team.
Referenced by G_ClientCommand().
Definition at line 89 of file g_cmds.c.
References game_import_t::Cmd_Args(), game_import_t::Cmd_Argv(), Com_Parse(), Com_sprintf(), G_CheckFlood(), G_ClientPrintf(), game, gi, cvar_s::integer, player_s::inuse, client_persistant_t::netname, player_s::pers, game_locals_t::players, PRINT_CHAT, Q_strcat(), sv_dedicated, game_locals_t::sv_maxplayersperteam, and client_persistant_t::team.
Referenced by G_ClientCommand().