View Single Post
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