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

[L4D2]Kick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cookies
Member
Join Date: Mar 2010
Old 05-02-2010 , 18:27   [L4D2]Kick
Reply With Quote #1

Ok ive searched and searched but no joy im looking for something for a 10vs10 server so anyone can call a kick vote but brings up a menu of some sort so they can see all players can by typing kick or !kick or something and then pick person they want to vote off anyone able to help with his?

Thanks Cookies

Last edited by Cookies; 05-02-2010 at 18:39.
Cookies is offline
Eraa
Senior Member
Join Date: Mar 2010
Old 05-03-2010 , 01:04   Re: [L4D2]Kick
Reply With Quote #2

Hi, I'm also looking for a plugin to allow players to have that kind of control with a menu that displays the list of all the players for voting kick.
It can be very well, if players can specify a reason (predefined) to start the vote kick.
Eraa is offline
Eraa
Senior Member
Join Date: Mar 2010
Old 05-03-2010 , 12:14   Re: [L4D2]Kick
Reply With Quote #3

I tried Players Votes v1.5.0 but the method of Counter-Strike all players must vote via the menu, there are no pop-up to vote normally with F1 and F2. Can't specify a reason (predefined) to start the vote kick with that , only for BAN.

Someone would have something that works for L4D2?
Eraa is offline
water_cat1
Member
Join Date: Mar 2010
Old 05-04-2010 , 05:28   Re: [L4D2]Kick
Reply With Quote #4

I don't play 10v10 games so I'm not 100% sure.
There is a vote menu when you hit esc and i have seen it list 5 people (one being a spectator who just loaded) so then I'm guessing it may be able to list 10. If you are admin im pretty sure there is a vote kick command, otherwise just kick them straight off with sm_kick (you may want to look through your admin commands list in the console, something like "sm help 1" then subsequent numbers for the next 10 or so commands)
water_cat1 is offline
Eraa
Senior Member
Join Date: Mar 2010
Old 05-04-2010 , 13:22   Re: [L4D2]Kick
Reply With Quote #5

I'm looking for this kind of plugin that people can kick in my absence on a server with more than 8 players ... The method with Esc does not list all the players.
Eraa is offline
Cookies
Member
Join Date: Mar 2010
Old 05-05-2010 , 19:11   Re: [L4D2]Kick
Reply With Quote #6

Well here is one i found and it works on 10vs10 servers nicly.

I just edits the chat commands to call a kick vote ect shows all players

http://forums.alliedmods.net/showthread.php?p=633808
Cookies is offline
Eraa
Senior Member
Join Date: Mar 2010
Old 05-08-2010 , 13:20   Re: [L4D2]Kick
Reply With Quote #7

When you start vote with this plugin you see normal pop-up (F1,F2) from L4D2 ?
Eraa is offline
RU_6uK
SourceMod Donor
Join Date: May 2010
Old 05-10-2010 , 21:04   Re: [L4D2]Kick
Reply With Quote #8

I tried many vote plugins, but no one brings up a pop-up kick menu.
My knowledge of writing plug-ins are bad. I appeal to the knowledgeable people.
Then write a simple plugin which on chat trigger "votekick" will open a menu with a list of teammates. When choosing a player will run command "callvote kick + userID"
This will start the votekick pop-up menu, where you can vote for the keys F1 F2
Please write a plugin. This will be useful for anyone with a server more than 8 players.
RU_6uK is offline
RU_6uK
SourceMod Donor
Join Date: May 2010
Old 05-12-2010 , 19:54   Re: [L4D2]Kick
Reply With Quote #9

Code:
#include <sourcemod>
#include <sdktools>

#define PLUGIN_VERSION "0.1"

public Plugin:myinfo = {
    name = "Votekick_F1F2",
    author = "",
    description = "",
    version = PLUGIN_VERSION,
    url = ""
};

public OnPluginStart()
{
    RegConsoleCmd("say", Command_Say);
    RegConsoleCmd("say_team", Command_Say);
}
 
 
public Action:Command_Say(client, args)
{
    decl String:text[192], String:command[64];
    new startidx = 0;
    if (GetCmdArgString(text, sizeof(text)) < 1)
    {
        return Plugin_Continue;
    }
    
    if (text[strlen(text)-1] == '"')
    {
        text[strlen(text)-1] = '\0';
        startidx = 1;
    }

    if (strcmp(command, "say2", false) == 0)
        startidx += 4;

    if (strcmp(text[startidx], "votekick", false) == 0)
    {
        ShowKickMenu(client);
    }
    
    return Plugin_Continue;
}

ShowKickMenu
I started to write a plugin, but don't know how to add a menu with the teammates and after choosing a player to execute the command "callvote kick userID". Plz need help.

Last edited by RU_6uK; 05-12-2010 at 19:58.
RU_6uK is offline
RU_6uK
SourceMod Donor
Join Date: May 2010
Old 05-18-2010 , 21:21   Re: [L4D2]Kick
Reply With Quote #10

Somebody can help?
RU_6uK 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:09.


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