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

[CSGO] Slay all when map finishes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 08-21-2020 , 19:11   [CSGO] Slay all when map finishes
Reply With Quote #1

Hi I was wondering if anyone here can make me a simple plugin that will slay everyone on map end on cs go preferably on cs_win_panel_match. Thanks!

Last edited by AuricYoutube; 08-22-2020 at 02:43.
AuricYoutube is offline
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Old 08-21-2020 , 19:58   Re: [CSGO] Slay all when map finishes
Reply With Quote #2

Quote:
Originally Posted by AuricYoutube View Post
Hi I was wondering if anyone here can make me a simple plugin that will slay everyone on map end on cs go preferably on cs_win_panel_match. Thanks!
PHP Code:
#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR ""
#define PLUGIN_VERSION "0.00"

#include <sourcemod>
#include <sdktools>

#pragma newdecls required

public Plugin myinfo 
{
    
name "",
    
author PLUGIN_AUTHOR,
    
description "",
    
version PLUGIN_VERSION,
    
url ""
};

public 
void OnPluginStart()
{
    
HookEvent("cs_win_panel_match"cs_win_panel_match);
}
public 
Action cs_win_panel_match(Event event, const char[] namebool dontBroadcast)
{
    for(
int i 1<= MaxClientsi++)
    {
        if(
IsClientInGame(i)&&!IsFakeClient(i)&&IsPlayerAlive(i))
            
ForcePlayerSuicide(i);
    }

__________________
Taking small private requests (Free) and big private requests (Paid).
Contact me via Discord: WilDick#1524

My Plugins:
SSheriFF is offline
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 08-22-2020 , 02:43   Re: [CSGO] Slay all when map finishes
Reply With Quote #3

Seems to not be working. Match end scoreboard shows up but no one dies.
AuricYoutube is offline
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Old 08-22-2020 , 08:09   Re: [CSGO] Slay all when map finishes
Reply With Quote #4

Quote:
Originally Posted by AuricYoutube View Post
Seems to not be working. Match end scoreboard shows up but no one dies.
Ah I dont see whats wrong with that code, I tested it just in case I was wrong or something and everything worked well. Im attaching the plugin in this post just to make sure you are using the right plugin.
Attached Files
File Type: sp Get Plugin or Get Source (MatchEndSlay.sp - 101 views - 620 Bytes)
__________________
Taking small private requests (Free) and big private requests (Paid).
Contact me via Discord: WilDick#1524

My Plugins:
SSheriFF 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 06:49.


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