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

slay all


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stefanos
Senior Member
Join Date: May 2020
Old 08-15-2020 , 14:56   slay all
Reply With Quote #1

amx_slayct > slay ALL alive CT's

i need this, can someone create?

Last edited by Stefanos; 08-15-2020 at 14:56.
Stefanos is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-15-2020 , 15:08   Re: slay all
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=292897
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Stefanos
Senior Member
Join Date: May 2020
Old 08-15-2020 , 15:30   Re: slay all
Reply With Quote #3

i tried same plugin for crxranks_give_xp and not works... i tried now amx_slay @ct and nothing happend.
Stefanos is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 08-15-2020 , 15:36   Re: slay all
Reply With Quote #4

Quote:
Originally Posted by Stefanos View Post
i tried same plugin for crxranks_give_xp and not works... i tried now amx_slay @ct and nothing happend.
Quote:
Please note that this plugins must be put above all plugins that use the commands in plugins.ini.
tarsisd2 is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 08-15-2020 , 15:36   Re: slay all
Reply With Quote #5

Have you added the command in CMDTargetPlus.ini? Show what have you done
ZaX is offline
Stefanos
Senior Member
Join Date: May 2020
Old 08-15-2020 , 15:43   Re: slay all
Reply With Quote #6

i will try ok
Stefanos is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 08-15-2020 , 16:43   Re: slay all
Reply With Quote #7

ok all works can you create that only ADMIN_RCON can use that targeting @all @ct etc...
Cirovic is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 08-15-2020 , 18:22   Re: slay all
Reply With Quote #8

Quote:
Originally Posted by Cirovic View Post
ok all works can you create that only ADMIN_RCON can use that targeting @all @ct etc...
this plugin is just an extension for the normal commands, if the admin doesn`t have the right flag he won`t be able to use it, example Flag "E" if an admin doesn`t have that flag then he won`t be able to slay anyone or all
tarsisd2 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 08-15-2020 , 21:17   Re: slay all
Reply With Quote #9

Quote:
Originally Posted by Stefanos View Post
amx_slayct > slay ALL alive CT's

i need this, can someone create?
PHP Code:
#include <amxmisc>
#include <cstrike>


#define DECREASE_FRAG; // Comment if you don't want to decrease player's frags

#if defined DECREASE_FRAG
        #define KILL_FLAG 0
#else
        #define KILL_FLAG 1
#endif

new g_iMaxPlrs;

public 
plugin_init()
{
        
register_plugin("Slay Team""1.0""Supremache");
 
        
register_concmd("amx_slayt""cmdSlayT"ADMIN_RCON"- slays Ts");
        
register_concmd("amx_slayct""cmdSlayCT"ADMIN_RCON"- slays CTs");
 
        
g_iMaxPlrs get_maxplayers();
}

public 
cmdSlayT(iCliLvliCmd)
{
        if (!
cmd_access(iCliLvliCmd1))
                return 
PLUGIN_HANDLED;
 
        for (new 
iCl 1iCl <= g_iMaxPlrsiCl++)
                if (
is_user_alive(iCl) && cs_get_user_team(iCl) & CS_TEAM_T)
                        
user_kill(iClKILL_FLAG);
 
        return 
PLUGIN_HANDLED;
}

public 
cmdSlayCT(iCliLvliCmd)
{
        if (!
cmd_access(iCliLvliCmd1))
                return 
PLUGIN_HANDLED;
 
        for (new 
iCl 1iCl <= g_iMaxPlrsiCl++)
                if (
is_user_alive(iCl) && cs_get_user_team(iCl) & CS_TEAM_CT)
                        
user_kill(iClKILL_FLAG);
 
        return 
PLUGIN_HANDLED;


Last edited by Supremache; 08-15-2020 at 21:17.
Supremache is offline
Reply


Thread Tools
Display Modes

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 01:16.


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