Thread Rating:
  • 7 Vote(s) - 3.14 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Votekick
#31
(04-10-2012, 07:53)OzonE Wrote: Mabye You Should Add !cancel For Admins To Avoid Players Kicking Admins Big Grin

you can add admins, mods and everyone you want to immunePlayers_xuid. But I think I can add that option if any admin wants to cancel the votekick.

I will do it when I have time.
Reply

#32
Also, you should try to do my idea...its probably not very hard. Its just a chat mechanism. It doesn't even have to do anything. Just have it like !vote Increase Speed? and then the message will appear and they type !vote y or !vote n and it will say how many people voted for it? That is all that I ask for. Or even if it says "Vote passed or Vote failed" Or the percent of players that said yes. Please? Smile thanks ahead of time!
Reply

#33
Plugin updated with !votecancel
(04-12-2012, 15:56)pollarpart Wrote: Also, you should try to do my idea...its probably not very hard. Its just a chat mechanism. It doesn't even have to do anything. Just have it like !vote Increase Speed? and then the message will appear and they type !vote y or !vote n and it will say how many people voted for it? That is all that I ask for. Or even if it says "Vote passed or Vote failed" Or the percent of players that said yes. Please? Smile thanks ahead of time!

It's easy to do it. I will do it when I have time. Thanks.
Reply

#34
more 10 Character name bug fix
Code:
public override void OnServerFrame()
        {
            if (Interval > 0)
                Interval--;

            if (VoteTime > 0)
            {
                if (VoteTime % votemsginterval == 0)
                {
                    foreach (ServerClient player in players)
                    {
                        if (player.Ping < 999 && player.Ping > 0)
                        {
                            double s1 = vote.Agree.Count / (validPN.Count + 0.01);
                            string s2 = s1.ToString("p");
                            string s3 = vote.Client.Name;
                            int s4 = s3.Length;
                            if (s4 <= 10)
                            
                                iPrintLnBold("^7(^1" + VoteTime / 50 + "s^7) ^6votekick ^3" + vote.Client.Name.Substring(0, s4) + "^6 in progress. ^2Agree " + s2 + " Percent ^6In chat Tpye ^3!vote yes ^6to yes", player);
                            
                            else
                                iPrintLnBold("^7(^1" + VoteTime / 50 + "s^7) ^6votekick ^3" + vote.Client.Name.Substring(0, 10) + "^6 in progress. ^2Agree " + s2 + " Percent ^6In chat Tpye ^3!vote yes ^6to yes", player);
                            
                        }
                    }
                }
Reply

#35
(04-18-2012, 11:42)jiuweiljp Wrote: more 10 Character name bug fix
Code:
public override void OnServerFrame()
        {
            if (Interval > 0)
                Interval--;

            if (VoteTime > 0)
            {
                if (VoteTime % votemsginterval == 0)
                {
                    foreach (ServerClient player in players)
                    {
                        if (player.Ping < 999 && player.Ping > 0)
                        {
                            double s1 = vote.Agree.Count / (validPN.Count + 0.01);
                            string s2 = s1.ToString("p");
                            string s3 = vote.Client.Name;
                            int s4 = s3.Length;
                            if (s4 <= 10)
                            
                                iPrintLnBold("^7(^1" + VoteTime / 50 + "s^7) ^6votekick ^3" + vote.Client.Name.Substring(0, s4) + "^6 in progress. ^2Agree " + s2 + " Percent ^6In chat Tpye ^3!vote yes ^6to yes", player);
                            
                            else
                                iPrintLnBold("^7(^1" + VoteTime / 50 + "s^7) ^6votekick ^3" + vote.Client.Name.Substring(0, 10) + "^6 in progress. ^2Agree " + s2 + " Percent ^6In chat Tpye ^3!vote yes ^6to yes", player);
                            
                        }
                    }
                }

What's that? That's not the message I have in votekick. I think it doesn't have that problem with the name/nick length.
Reply

#36

you try use name 15 Character
Reply

#37
Can someone please make a good Plugin for both votemap and votekick?
Reply

#38


Attached Files
.zip   votekick.zip (Size: 4.26 KB / Downloads: 264)
Reply

#39
keeping update,great Big Grin
Reply

#40
Dear craftsmen who know how to compile a dll plugin that make it easier to vote affirmed the buttons f1 f2
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Votekick and VoteBan 4d1 gauthier.verrons 1 1,749 06-20-2013, 09:05
Last Post: surtek

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.