View Single Post
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Old 09-08-2018 , 10:54   Re: [CSGO] Map Change Client Crash Fixer (v1.0.0.6 , 2018/09/08)
Reply With Quote #2

good fucking job

although there's safer ways to do this (SetIntCvar)
Code:
bool SetIntCvar(const char[] scvar, int alue) 
{
	ConVar cvar = FindConVar(scvar);
	
	if (cvar != null) 
	{
		cvar.SetInt(value);
		return true;
	}
	
	else
		return false;
}

Last edited by mug1wara; 09-08-2018 at 10:56. Reason: the spaces are huge on the codeblocks, meh whatever
mug1wara is offline