Custom votes controllable by cvar #185

Open
opened 2015-09-07 10:19:14 -07:00 by GoogleCodeExporter · 0 comments
GoogleCodeExporter commented 2015-09-07 10:19:14 -07:00 (Migrated from github.com)
Attached patch add cvars:

  g_customVote1
  ...
  g_customVote8
  g_customVotePercent

It setting customized votes for the players.

Example, to allow voting unlagged on and off:

g_customVote1 = "unlagged_on,Turn on unlagged,g_unlagged 1"
g_customVote2 = "unlagged_off,Turn off unlagged,g_unlagged 0"

players can then do '/callvote unlagged_on' to start a vote to turn it on.

cvar format is comma seperated as:
"callvote_command,Vote display text,server command to run"


Original issue reported on code.google.com by Rez...@gmail.com on 5 Oct 2008 at 9:55

Attachments:

``` Attached patch add cvars: g_customVote1 ... g_customVote8 g_customVotePercent It setting customized votes for the players. Example, to allow voting unlagged on and off: g_customVote1 = "unlagged_on,Turn on unlagged,g_unlagged 1" g_customVote2 = "unlagged_off,Turn off unlagged,g_unlagged 0" players can then do '/callvote unlagged_on' to start a vote to turn it on. cvar format is comma seperated as: "callvote_command,Vote display text,server command to run" ``` Original issue reported on code.google.com by `Rez...@gmail.com` on 5 Oct 2008 at 9:55 Attachments: - [qvm_pq_svn85_custom_cvar_votes.patch](https://storage.googleapis.com/google-code-attachments/p-g-qvm/issue-185/comment-0/qvm_pq_svn85_custom_cvar_votes.patch)
Sign in to join this conversation.