Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 02-20-2014 , 18:48   Re: Custom Votes Redux (v1.1 - 2/16/14)
Reply With Quote #10

Quote:
Originally Posted by robotortoise View Post
So like this?

" "Make everyone props!"
{
"type" "list"
"command" "sm_vote; sm_propplayer {OPTION_RESULT}"
"bots" "1"
"immunity" "0"
"minimum" "5"
"ratio" "0.8"
"call_notify" "{olive}{VOTER_NAME}{default} wants to make half the server pissed off by turning everyone into props. {olive}{default} [{VOTE_AMOUNT}/{VOTE_REQUIRED}]"
"pass_notify" "{olive}Vote passed. Everyone is a prop! HIDE YO KIDS! HIDE YO WIFE!{default}."
"chattrigger" "voteprops"
"delay" "95"
}"
I didn't take into consideration that there isn't a way to get the result of sm_vote. The vote will be called but nothing will happen when the vote ends. A seperate plugin could be created for that to function like that but at the moment I'd suggest just using the plugin the way it is right now.

On other note...

Yay updates!

Version 1.2 - 2/20/14
  • Fixed improper votes being reset upon client connect and disconnects
  • Fixed array index out of bounds errors
  • Fixed bug where votes would have the required votes to pass but don't trigger
  • Fixed exploit where opening a vote with chat triggers would ignore delay and override configuration protocols
  • Fixed chat triggers not being executed when a ! or / is found
  • Changed max maps to 128
  • Changed max votes to 32
  • Added excluding bots from players type votes
  • Added restricting players type votes to team member selections

Last edited by ReFlexPoison; 02-20-2014 at 18:55.
ReFlexPoison 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:29.


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