Raised This Month: $32 Target: $400
 8% 

[CSS/CSGO] Slay Losers


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarkEnergy
SourceMod Donor
Join Date: Apr 2008
Location: Georgia Tech, MSECE
Plugin ID:
1836
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Slays losers on timer round end and or objectives lost
    Unapprover:
    Reason for Unapproving:
    Reported problems, author awol
    Old 07-28-2010 , 14:09   [CSS/CSGO] Slay Losers
    Reply With Quote #1

    This is usually used to encourage players to complete the objectives, and punish them if they fail.

    Servers running this plugin: http://www.game-monitor.com/search.p...losers_version

    What it does:

    Slays losers on round timer end AND round end (default)
    (didnt plant and time was up, didnt touch / rescue all hostage when time was up)
    (bomb exploded or defused triggers this round end!)

    OR:

    Slay losers on objectives lost/completed ONLY
    (such as bomb explode, defuse, and all hostages rescued)
    If bomb wasnt planted then this will not do anything.

    Admins can be immune to the slay


    Cvars:
    slaylosers_enabled 1 //Is this plugin enabled, the master on off switch

    slaylosers_admin_immunity 1 //Admins should not be slayed

    slaylosers_slay_round_timer 1 //Slay losers when round ended (bomb, defuse, all hostages, time runs out and a team didn't complete bomb or hostage objectives)

    slaylosers_slay_objectives 0 //Slay losers ONLY if an objective is completed (bomb, defuse, all hostages)

    slaylosers_skipiftouchedhostage 1 //CTs should not be slayed if they touched a hostage

    Note : see this post for a CSGO compatible version
    Attached Files
    File Type: zip OCSlayLosers_v1.3.zip (15.9 KB, 2653 views)

    Last edited by Sheepdude; 02-06-2013 at 10:04. Reason: removed feedback status
    DarkEnergy is offline
    KawMAN
    SourceMod Donor
    Join Date: Sep 2007
    Location: Cracov
    Old 07-28-2010 , 15:10   Re: [CSS] Slay Losers
    Reply With Quote #2

    Quote:
    Originally Posted by DarkEnergy View Post
    There arn't any slay losers plugin for SM, so i decided to make one
    (...)
    http://forums.alliedmods.net/showthread.php?t=57517
    __________________
    KawMAN is offline
    Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 07-29-2010 , 00:16   Re: [CSS] Slay Losers
    Reply With Quote #3

    If this is used on a map with no objective, and the timer laps... what happens?
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    DarkEnergy
    SourceMod Donor
    Join Date: Apr 2008
    Location: Georgia Tech, MSECE
    Old 07-29-2010 , 12:29   Re: [CSS] Slay Losers
    Reply With Quote #4

    nothing, it doesnt force round end if the map doesnt end on round time is up

    Last edited by DarkEnergy; 07-29-2010 at 12:31.
    DarkEnergy is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 10-31-2010 , 15:18   Re: [CSS] Slay Losers
    Reply With Quote #5

    Can you help me?

    I need immunity for people with reserve flags. Can you tell me how I can do this?
    __________________
    ph is offline
    DarkEnergy
    SourceMod Donor
    Join Date: Apr 2008
    Location: Georgia Tech, MSECE
    Old 10-31-2010 , 15:23   Re: [CSS] Slay Losers
    Reply With Quote #6

    by default any admin will be immune to it
    __________________
    War3:Source Developer
    "Your CPU is just a bunch of Muxes"
    DarkEnergy is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 10-31-2010 , 16:12   Re: [CSS] Slay Losers
    Reply With Quote #7

    Is there a way to give immunity to;

    Players with reserve flag only.


    What part of the script can be edited to have the above functionality.
    __________________
    ph is offline
    DarkEnergy
    SourceMod Donor
    Join Date: Apr 2008
    Location: Georgia Tech, MSECE
    Old 10-31-2010 , 16:32   Re: [CSS] Slay Losers
    Reply With Quote #8

    Code:
    bool:IsAdminImmunity(client)
    {
    
        if(GetConVarInt(hCvarAdminsImmune) == 0)
        {
            return false;
        }
    
        new AdminId:admin = GetUserAdmin(client);
        if(admin == INVALID_ADMIN_ID)
        {
            return false;
        }
        return true;
    }
    
    
    
    TO:
    
    
    bool:IsAdminImmunity(client)
    {
    
        if(GetConVarInt(hCvarAdminsImmune) == 0)
        {
            return false;
        }
    
        new AdminId:admin = GetUserAdmin(client);
        if(admin == INVALID_ADMIN_ID)
        {
            return false;
        }
        return GetAdminFlag(admin, Admin_Reservation);
    }
    __________________
    War3:Source Developer
    "Your CPU is just a bunch of Muxes"
    DarkEnergy is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 10-31-2010 , 16:52   Re: [CSS] Slay Losers
    Reply With Quote #9

    Thank you
    __________________
    ph is offline
    Frenzzy
    SourceMod Donor
    Join Date: Jan 2007
    Location: Russia
    Old 01-03-2011 , 11:34   Re: [CSS] Slay Losers
    Reply With Quote #10

    New Release!

    v1.1 Changelog:
    - Added translations support.
    - Added Russian translation.
    - Added colors support in phrases.
    - Added usage of configuration file.
    - Some code optimization.
    Attached Files
    File Type: zip Plugin_SlayLosers_v1.1.zip (14.4 KB, 563 views)
    Frenzzy is offline
    Send a message via ICQ to Frenzzy Send a message via MSN to Frenzzy Send a message via Skype™ to Frenzzy
    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 23:31.


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