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

[CSGO] Plugin to disable freezing on Match End.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 02-06-2022 , 07:24   [CSGO] Plugin to disable freezing on Match End.
Reply With Quote #1

In CSGO when a match ends, players are frozen till map change. Maybe it is possible to allow players to move on match end and disable freezing?
AuricYoutube is offline
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 02-07-2022 , 04:56   Re: [CSGO] Plugin to disable freezing on Match End.
Reply With Quote #2

Untested

Code:
stock void UnfreezeAllPlayers()
{
	for (int i = 1; i <= MaxClients; i++)
	{
		if (IsClientInGame(i))
		{
			int flags = GetEntityFlags(i);
			SetEntityFlags(i, flags & ~FL_FROZEN);
		}
	}
}
Just call it when intermission event triggers

Last edited by BeepIsla; 02-07-2022 at 04:56.
BeepIsla 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 03:06.


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