Raised This Month: $ Target: $400
 0% 

[L4D/2] Votekick


Post New Thread Reply   
 
Thread Tools Display Modes
Author
D1maxa
Member
Join Date: Dec 2008
Plugin ID:
2047
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1016 
    Plugin Description:
    Votekick menu in L4D/L4D2
    Old 11-02-2010 , 04:45   [L4D/2] Votekick
    Reply With Quote #1

    Description: Votekick menu for servers with more than 4 players in team. Also it shows player's country
    How to use: say votekick, !votekick, /votekick or type in console votekick, sm_votekick
    bind INS votekick - very useful binding
    Cvars:
    l4d_votekick_version - version of plugin
    Screenshots:
    Choose teamplayer in menu, standard form for votekick will be shown
    Installation: put l4d_votekick.smx to plugins folder, l4d_votekick.phrases.txt to translations folder
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_votekick.sp - 7467 views - 2.8 KB)
    File Type: txt l4d_votekick.phrases.txt (119 Bytes, 4406 views)

    Last edited by D1maxa; 11-16-2010 at 11:14. Reason: Screenshots were added
    D1maxa is offline
    Zoeylicious
    Member
    Join Date: Oct 2010
    Old 11-02-2010 , 08:54   Re: [L4D/2] Votekick
    Reply With Quote #2

    Hello

    cool thank you
    Zoeylicious is offline
    mikhdenis
    Member
    Join Date: Aug 2009
    Location: Ukraine
    Old 11-02-2010 , 13:45   Re: [L4D/2] Votekick
    Reply With Quote #3

    Finally
    mikhdenis is offline
    RocKeR_DSk
    New Member
    Join Date: Nov 2010
    Old 11-10-2010 , 16:35   Re: [L4D/2] Votekick
    Reply With Quote #4

    COOOOOOL!!!!

    D1maxa, THANK!!!!
    RocKeR_DSk is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 11-12-2010 , 10:35   Re: [L4D/2] Votekick
    Reply With Quote #5

    Hi!
    I have a question about how you unlocked the sm admin command "sm_votekick" for non-admins. You put these 2 regconsole commands in your code:
    PHP Code:
    RegConsoleCmd("votekick"Command_Votekick);
    RegConsoleCmd("sm_votekick"Command_Votekick); 
    The basevotes plugin which is in every SM version included, uses the same command, but only for admins.
    1. Why does your plugin not interfere with basevotes plugin?
    2. Is it possible to unlock some funvotes for non-admins too ?

    Last edited by Skorpion1976; 11-12-2010 at 10:37.
    Skorpion1976 is offline
    MarshalZCC
    Senior Member
    Join Date: Feb 2010
    Location: Alberta, Canada
    Old 11-12-2010 , 10:53   Re: [L4D/2] Votekick
    Reply With Quote #6

    Any plug-in can register any command. It's whether the function behind the command gets executed based on the permissions. If multiple plug-ins register the same command then both sets of functionality will get called.
    MarshalZCC is offline
    sapphire989
    Member
    Join Date: Oct 2010
    Old 11-12-2010 , 13:27   Re: [L4D/2] Votekick
    Reply With Quote #7

    Nice plugin THX
    sapphire989 is offline
    D1maxa
    Member
    Join Date: Dec 2008
    Old 11-12-2010 , 14:10   Re: [L4D/2] Votekick
    Reply With Quote #8

    Quote:
    Originally Posted by Skorpion1976 View Post
    Hi!
    I have a question about how you unlocked the sm admin command "sm_votekick" for non-admins. You put these 2 regconsole commands in your code:
    PHP Code:
    RegConsoleCmd("votekick"Command_Votekick);
    RegConsoleCmd("sm_votekick"Command_Votekick); 
    The basevotes plugin which is in every SM version included, uses the same command, but only for admins.
    1. Why does your plugin not interfere with basevotes plugin?
    2. Is it possible to unlock some funvotes for non-admins too ?
    i don't use basevotes on my server and plugin doesn't use it, i think l4d doesn't need it because it has their voting system. I wrote my plugin because standart votekick menu shows max 3 players for kick. I don't know about sm_votekick command from basevotes
    U want fun votes for users non admins - edit funvotes.sp in scripting folder:
    Change
    Code:
    RegAdminCmd("sm_votegravity", Command_VoteGravity, ADMFLAG_VOTE, "sm_votegravity <amount> [amount2] ... [amount5]");
        RegAdminCmd("sm_voteburn", Command_VoteBurn, ADMFLAG_VOTE|ADMFLAG_SLAY, "sm_voteburn <player>");
        RegAdminCmd("sm_voteslay", Command_VoteSlay, ADMFLAG_VOTE|ADMFLAG_SLAY, "sm_voteslay <player>");
        RegAdminCmd("sm_votealltalk", Command_VoteAlltalk, ADMFLAG_VOTE, "sm_votealltalk");
        RegAdminCmd("sm_voteff", Command_VoteFF, ADMFLAG_VOTE, "sm_voteff");
    to
    Code:
    RegConsoleCmd("sm_votegravity", Command_VoteGravity, "sm_votegravity <amount> [amount2] ... [amount5]");
        RegConsoleCmd("sm_voteburn", Command_VoteBurn, "sm_voteburn <player>");
        RegConsoleCmd("sm_voteslay", Command_VoteSlay, "sm_voteslay <player>");
        RegConsoleCmd("sm_votealltalk", Command_VoteAlltalk, "sm_votealltalk");
        RegConsoleCmd("sm_voteff", Command_VoteFF, "sm_voteff");
    save as funvotesforall.sp, compile it, have fun
    Quote:
    Originally Posted by sapphire989 View Post
    Nice plugin THX
    I wrote another plugin also, for vote custom campaigns because standart menu doesn't show them screenshot will be later

    Last edited by D1maxa; 11-12-2010 at 14:24.
    D1maxa is offline
    Danny_l4d
    Senior Member
    Join Date: Feb 2010
    Old 11-16-2010 , 10:09   Re: [L4D/2] Votekick
    Reply With Quote #9

    I used custom votes and with this it was possible to kick the tank in a coop game,
    is it also possible with this plugin? if yes can it be disabled?
    __________________
    Danny_l4d is offline
    D1maxa
    Member
    Join Date: Dec 2008
    Old 11-16-2010 , 11:13   Re: [L4D/2] Votekick
    Reply With Quote #10

    use votemanager for regulating voting rights
    D1maxa 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 03:26.


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