(04-10-2012, 07:53)OzonE Wrote: [ -> ]Mabye You Should Add !cancel For Admins To Avoid Players Kicking Admins
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.
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?
thanks ahead of time!
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? thanks ahead of time!
It's easy to do it. I will do it when I have time. Thanks.
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);
}
}
}
(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.
you try use name 15 Character
Can someone please make a good Plugin for both votemap and votekick?
keeping update,great
Dear craftsmen who know how to compile a dll plugin that make it easier to vote affirmed the buttons f1 f2