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

[CSGO] Disable 1v1 Arena after Broken Fang update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xuxinsheng1
Junior Member
Join Date: May 2013
Old 12-06-2020 , 04:24   [CSGO] Disable 1v1 Arena after Broken Fang update
Reply With Quote #1

Simple way:
csgo/scripts/vscripts/warmup/warmup_teleport.nut
Code:
function OnPostSpawn()
{
	...
	if (GAMEMODE == 1 && GAMETYPE == 0)		// check if we're running comp
	{
		COMPMATCH = true;
	}
	...
}
We can just set:
Quote:
COMPMATCH = false;
That will disable 1v1 arena in competitive mode.
I guess we could make arena work on other modes by modify this file.
Edit this file works after mp_restartgame/map change.
I've never seen any command ingame can switch arena.

So I think need plugins that can hook some entity using this Entity Script if we want use command switch ingame.
xuxinsheng1 is offline
raj kaul
Senior Member
Join Date: Mar 2018
Location: www.lotgaming.xyz
Old 12-06-2020 , 04:51   Re: [CSGO] Disable 1v1 Arena after Broken Fang update
Reply With Quote #2

Thank you so much .. working fine
__________________
raj kaul is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-06-2020 , 06:20   Re: [CSGO] Disable 1v1 Arena after Broken Fang update
Reply With Quote #3

Interestingly, would anyone create a plugin to do this?

I believe that whenever you update the game it will be replaced, correct?
paulo_crash is offline
xuxinsheng1
Junior Member
Join Date: May 2013
Old 12-06-2020 , 06:37   Re: [CSGO] Disable 1v1 Arena after Broken Fang update
Reply With Quote #4

Quote:
Originally Posted by paulo_crash View Post
Interestingly, would anyone create a plugin to do this?

I believe that whenever you update the game it will be replaced, correct?
I had seen some files will replaced when game update,but some not.
I guess it's depending on those files have new release?

Quote:
Originally Posted by raj kaul View Post
Thank you so much .. working fine
enjoy ~
xuxinsheng1 is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 12-06-2020 , 07:53   Re: [CSGO] Disable 1v1 Arena after Broken Fang update
Reply With Quote #5

Try this:
https://forums.alliedmods.net/showthread.php?t=329053
__________________

Last edited by Ilusion9; 12-06-2020 at 08:23.
Ilusion9 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-06-2020 , 08:03   Re: [CSGO] Disable 1v1 Arena after Broken Fang update
Reply With Quote #6

Quote:
Originally Posted by Ilusion9 View Post
paulo_crash 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 02:07.


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