Raised This Month: $ Target: $400
 0% 

Custom Votes Redux (v1.7 - 4/13/14)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-25-2014 , 18:26   Re: Custom Votes Redux (v1.2 - 2/20/14)
Reply With Quote #11

Reflex I have a question. How to I set votes to be allowed to called by a single vote?

For example, if I want anyone to be able to cast a vote to kick a player, I currently have:
{
"Kick player"
{
"type" "players"
"command" "sm_kick {TARGET_ID}"
"team" "1"
"bots" "1"
"immunity" "99"
"multiple" "1"
"minimum" "4"
"ratio" "0.6"
"call_notify" "{olive}{VOTER_NAME}{default} voted to kick {olive}{TARGET_NAME}{default} [{green}{VOTE_AMOUNT}{default}/{green}{VOTE_REQUIRED}{default}]"
"pass_notify" "{olive}Vote to kick passed. Kicked {olive}{TARGET_NAME}{default}."
"chattrigger" "votekick"
}

Looking at the options, there only seems to be "minimum" and "ratio". Minimum is the number of players needed to make a current vote succeed, and ratio is how many voted "yes" to pass. But do I set this so anyone can call a vote?

I saw this:
// Place these in command, call_notify, pass_notify to your liking
// {VOTE_AMOUNT} - Amount of votes called for that item
// {VOTE_REQUIRED} - Required vote calls for that vote to pass

But how can I set them?
Creampuffyness is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode