Nuclide
Software Development Kit for id Tech
|
Calling votes, evaluating them. More...
Enumerations | |
enum | { VOTE_INACTIVE , VOTE_INPROGRESS , VOTE_PASSED } |
Functions | |
void | Vote_End (void) |
void | Vote_Reset (void) |
void | Vote_Passed (void) |
void | Vote_Failed (void) |
void | Vote_Frame (void) |
void | Vote_InitiateVote (string) |
void | CSEv_VoteY (void) |
void | CSEv_VoteN (void) |
void | CSEv_CallVote_s (string) |
void | Vote_Init (void) |
Variables | |
var string | g_strVoteCmd |
var float | g_flVoteTime |
var int | g_iVoteState |
var int | autocvar_mp_allowvote = TRUE |
Calling votes, evaluating them.
When the console variable mp_allowvote
is set to 1, players are allowed access to the callvote
command.
They have access to the following subcommands:
Will request a map change to the proposed map. Will alert when the map does not exist on the server.
Requests a player to be kicked.
Requests an adjustment to the timelimit.
Requests an adjustment to the fraglimit.
Requests the map to restart, without altering the map cycle.
Requests a change to the next map.
var int autocvar_mp_allowvote = TRUE |
var float g_flVoteTime |
var int g_iVoteState |
var string g_strVoteCmd |