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

[CS:GO] Fix Competitive Warmup


Post New Thread Reply   
 
Thread Tools Display Modes
Trum
AlliedModders Donor
Join Date: Jan 2017
Old 12-07-2020 , 08:13   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #11

Trum is offline
Kirsebaer
Junior Member
Join Date: Apr 2020
Old 12-07-2020 , 09:58   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #12

Quote:
Originally Posted by Ilusion9 View Post
I have updated the plugin. Try now.
still none
Kirsebaer is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 12-07-2020 , 17:41   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #13

Quote:
Originally Posted by Kirsebaer View Post
still none
Try this:
PHP Code:

#include <sourcemod>
#include <sdkhooks>
#include <sdktools>

public Plugin myinfo =
{
    
name "Fix Competitive Warmup",
    
author "Ilusion9",
    
description "Fix competitive warmup.",
    
version "1.0",
    
url "https://github.com/Ilusion9/"
};

public 
void OnMapStart()
{
    if (
FileExists("scripts/vscripts/warmup/warmup_arena.nut"))
    {
        
DeleteFile("scripts/vscripts/warmup/warmup_arena.nut");
    }
    
    if (
FileExists("scripts/vscripts/warmup/warmup_teleport.nut"))
    {
        
DeleteFile("scripts/vscripts/warmup/warmup_teleport.nut");
    }

__________________
Ilusion9 is offline
Kirsebaer
Junior Member
Join Date: Apr 2020
Old 12-07-2020 , 23:07   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #14

Quote:
Originally Posted by Ilusion9 View Post
Try this:
PHP Code:

#include <sourcemod>
#include <sdkhooks>
#include <sdktools>

public Plugin myinfo =
{
    
name "Fix Competitive Warmup",
    
author "Ilusion9",
    
description "Fix competitive warmup.",
    
version "1.0",
    
url "https://github.com/Ilusion9/"
};

public 
void OnMapStart()
{
    if (
FileExists("scripts/vscripts/warmup/warmup_arena.nut"))
    {
        
DeleteFile("scripts/vscripts/warmup/warmup_arena.nut");
    }
    
    if (
FileExists("scripts/vscripts/warmup/warmup_teleport.nut"))
    {
        
DeleteFile("scripts/vscripts/warmup/warmup_teleport.nut");
    }

fixed
Success!
Kirsebaer is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-08-2020 , 12:09   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #15

Any possibility of adding a cvar / command so that we can control if you want to disable or enable this feature on such a map?

For example, by default, this 1v1 starts off on all maps, but if on this map I want to leave the next 1v1 enabled, I would type !1v1 and activate it, and to disable it if I want to enter the command again.
paulo_crash is offline
don_rapt0r
Member
Join Date: Sep 2019
Location: Croatia
Old 12-08-2020 , 13:05   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #16

Quote:
Originally Posted by Ilusion9 View Post
in warmup or after that?
In warmup.
don_rapt0r is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 12-09-2020 , 10:27   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #17

Quote:
Originally Posted by paulo_crash View Post
Any possibility of adding a cvar / command so that we can control if you want to disable or enable this feature on such a map?

For example, by default, this 1v1 starts off on all maps, but if on this map I want to leave the next 1v1 enabled, I would type !1v1 and activate it, and to disable it if I want to enter the command again.
I think that can be done with a convar, enabling/disabling it while in warmup can be bad.
__________________
Ilusion9 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-09-2020 , 10:56   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #18

Quote:
Originally Posted by Ilusion9 View Post
I think that can be done with a convar, enabling/disabling it while in warmup can be bad.
I see, I thought of the case just to activate this 1v1 feature when, I don't know, you want something different.
paulo_crash is offline
UnknownReaper
Junior Member
Join Date: Jun 2020
Old 12-10-2020 , 08:28   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #19

Are there any dependency for this plugin? For some reason, it doesn't work and it still loads me into 1v1 at the start.

EDIT: Sorry my bad had to compile this code instead of compiling the github one. Thanks for sharing this plugin.

PHP Code:
#include <sourcemod>
#include <sdkhooks>
#include <sdktools>

public Plugin myinfo =
{
    
name "Fix Competitive Warmup",
    
author "Ilusion9",
    
description "Fix competitive warmup.",
    
version "1.0",
    
url "https://github.com/Ilusion9/"
};

public 
void OnMapStart()
{
    if (
FileExists("scripts/vscripts/warmup/warmup_arena.nut"))
    {
        
DeleteFile("scripts/vscripts/warmup/warmup_arena.nut");
    }
    
    if (
FileExists("scripts/vscripts/warmup/warmup_teleport.nut"))
    {
        
DeleteFile("scripts/vscripts/warmup/warmup_teleport.nut");
    }


Last edited by UnknownReaper; 12-11-2020 at 10:17.
UnknownReaper is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 12-18-2020 , 02:26   Re: [CS:GO] Fix Competitive Warmup
Reply With Quote #20

nice
__________________
I am learning sm now
rsdtt 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 14:49.


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