Raised This Month: $51 Target: $400
 12% 

Players Votes (v1.5.0) Updated Aug 09 2009


Post New Thread Reply   
 
Thread Tools Display Modes
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 03-18-2011 , 12:57   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #241

Is there any way of setting a vote to trigger another command if there are enough votes? For example I have done custom votes on who to kick out of 2 different players, then had to wait for the results to show for me to then manually kick the 'winning' player. At the moment what I am doing is pre-typing sm_kick in the console then typing /sm_vote "Kick who" "Player1" "Player2" in chat to do the vote.

What would I have to type to make it so the player with the most votes got kicked automatically? would it be something like /sm_votekick "Player1" "player2" ??

It must be said I do not write mods or anything, I am an admin on a couple of TF2 servers but I am not the owner of those servers.
__________________

Last edited by Werewolf_UK; 03-18-2011 at 13:10. Reason: Adding details
Werewolf_UK is offline
Warheart
Member
Join Date: Mar 2011
Location: In my room.
Old 04-28-2011 , 11:46   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #242

How can i download that .smx file.
i think that download link is broken.
__________________
-|FJB|- Zombie Escape/Survival | 173.199.79.219:27015
-|FJB|- Minigame | 173.199.74.180:27015
-|FJB|- Warcraft | 173.199.79.135:27015
Warheart is offline
Send a message via MSN to Warheart Send a message via Skype™ to Warheart
einwad
Member
Join Date: Mar 2011
Location: Romania (Brazil)
Old 04-29-2011 , 03:38   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #243

Quote:
Originally Posted by Warheart View Post
How can i download that .smx file.
i think that download link is broken.
Download the zip file "playersvotes_data_files_1.5.0.zip". It's the latest version and has all files in it.
einwad is offline
Send a message via Skype™ to einwad
einwad
Member
Join Date: Mar 2011
Location: Romania (Brazil)
Old 04-29-2011 , 03:41   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #244

Hi. I'm using this plugin for a while now but I always had votemap disabled because we only play on de_dust2_unlimited. I'm thinking of enabling it, but I got a question first

How long is the voted map gonna play for?

I want players to vote for a map that will play only for 30mins and then back to de_dust2_unlimited (which is the only map on the default mapcycle file, if that helps). I added on maplists.cfg a maplist.txt line for playervotes. And inside maplist.txt I have placed only 1 map (cs_italy). I want players to vote if they want to play cs_italy or not. And then automatically switch back to de_dust2_unlimited once the 30mins are over. I disabled map extensions, I put minimum of 10 players for votemap, ratio 60%. The only thing I can't find is the duration.

Last edited by einwad; 04-29-2011 at 03:47.
einwad is offline
Send a message via Skype™ to einwad
steven124
Member
Join Date: Nov 2009
Location: Siberia
Old 04-29-2011 , 05:24   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #245

hi guys
Tell me how to do so, start voting in tightly defined queries to the vote?
that is: have
[SM] Steve wants to change the map to de_dust2 [1 / 17 votes], with 30 players


need:
[SM] Steve wants to change the map to de_dust2 [1 / 5 votes] with 30 players

thx
steven124 is offline
Warheart
Member
Join Date: Mar 2011
Location: In my room.
Old 04-29-2011 , 09:16   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #246

Quote:
Download the zip file "playersvotes_data_files_1.5.0.zip". It's the latest version and has all files in it.
Well i downloaded it but .smx file is still missing.
__________________
-|FJB|- Zombie Escape/Survival | 173.199.79.219:27015
-|FJB|- Minigame | 173.199.74.180:27015
-|FJB|- Warcraft | 173.199.79.135:27015
Warheart is offline
Send a message via MSN to Warheart Send a message via Skype™ to Warheart
einwad
Member
Join Date: Mar 2011
Location: Romania (Brazil)
Old 04-29-2011 , 14:45   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #247

Quote:
Originally Posted by Warheart View Post
Well i downloaded it but .smx file is still missing.
Oh, I didn't notice that, sorry. But you can still compile the .sp file which is located in the zip file. I just tested it, I don't know why the .smx file doesnt work though

http://www.sourcemod.net/compiler.php
einwad is offline
Send a message via Skype™ to einwad
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 05-19-2011 , 15:58   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #248

i don't know if this is allowed, but if you do trust it, i compiled it so to put a direct link to it.

if you are afraid just compile it yourself.
Attached Files
File Type: smx playersvotes.smx (23.2 KB, 161 views)
__________________
nikooo777 is offline
edwardepps
New Member
Join Date: May 2011
Old 05-20-2011 , 10:20   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #249

i've used yours
__________________
Articel about gsm repeater. It works!
I use gsm booster in my big office. It works.

Last edited by edwardepps; 05-21-2011 at 10:31.
edwardepps is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-23-2011 , 11:17   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #250

I think it would be easy to add, and maybe I'll look at the code myself and add it, but how about adding the functionality of only allowing voteban, votekick, and votemap if an admin is NOT in game.

That way, admins have control of the server w/o the need of having to cancel votes or anything while they're on.

OnJoin... if client has SM_BAN, (bool):AdminPresent = true - or maybe just have it look at all the players when voteban, votekick, or votemap are called

Then for the voteban, votekick, and votemap, if bool:adminpresent = true, return plugin_handled... something like that eh
TnTSCS is offline
Reply



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:48.


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