AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CSS/CSGO] Slay Losers (https://forums.alliedmods.net/showthread.php?t=133756)

DarkEnergy 07-28-2010 14:09

[CSS/CSGO] Slay Losers
 
1 Attachment(s)
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

KawMAN 07-28-2010 15:10

Re: [CSS] Slay Losers
 
Quote:

Originally Posted by DarkEnergy (Post 1254308)
There arn't any slay losers plugin for SM, so i decided to make one
(...)

http://forums.alliedmods.net/showthread.php?t=57517

bobbobagan 07-29-2010 00:16

Re: [CSS] Slay Losers
 
If this is used on a map with no objective, and the timer laps... what happens?

DarkEnergy 07-29-2010 12:29

Re: [CSS] Slay Losers
 
nothing, it doesnt force round end if the map doesnt end on round time is up

ph 10-31-2010 15:18

Re: [CSS] Slay Losers
 
Can you help me?

I need immunity for people with reserve flags. Can you tell me how I can do this?

DarkEnergy 10-31-2010 15:23

Re: [CSS] Slay Losers
 
by default any admin will be immune to it

ph 10-31-2010 16:12

Re: [CSS] Slay Losers
 
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.

DarkEnergy 10-31-2010 16:32

Re: [CSS] Slay Losers
 
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);
}


ph 10-31-2010 16:52

Re: [CSS] Slay Losers
 
Thank you :)

Frenzzy 01-03-2011 11:34

Re: [CSS] Slay Losers
 
1 Attachment(s)
New Release!

v1.1 Changelog:
- Added translations support.
- Added Russian translation.
- Added colors support in phrases.
- Added usage of configuration file.
- Some code optimization.


All times are GMT -4. The time now is 06:22.

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