Calling votes, evaluating them.
More...
Calling votes, evaluating them.
Voting System
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:
callvote map [mapname]
Will request a map change to the proposed map. Will alert when the map does not exist on the server.
callvote kick [player id]
Requests a player to be kicked.
callvote timelimit
Requests an adjustment to the timelimit.
callvote fraglimit
Requests an adjustment to the fraglimit.
callvote map_restart
Requests the map to restart, without altering the map cycle.
callvote nextmap
Requests a change to the next map.
◆ CSEv_CallVote_s()
void CSEv_CallVote_s |
( |
string |
text | ) |
|
◆ CSEv_VoteN()
◆ CSEv_VoteY()
◆ Vote_End()
◆ Vote_Failed()
void Vote_Failed |
( |
void |
| ) |
|
◆ Vote_Frame()
◆ Vote_Init()
◆ Vote_InitiateVote()
void Vote_InitiateVote |
( |
string |
votemsg | ) |
|
◆ Vote_Passed()
void Vote_Passed |
( |
void |
| ) |
|
◆ Vote_Reset()
◆ anonymous enum
Enumerator |
---|
VOTE_INACTIVE | |
VOTE_INPROGRESS | |
VOTE_PASSED | |
◆ autocvar_mp_allowvote
var int autocvar_mp_allowvote = TRUE |
◆ g_flVoteTime
◆ g_iVoteState
◆ g_strVoteCmd