C++ convar crash
Okay i will try and ask here and see if i for once can get a bit of help without all the "not-so-nice-people" hating..
I have a little problem.. When i create a cvar:
It works just fine.. But when i try to change the cvar or start a game it crash..
The only way to stop it from crashing is adding the FCVAR_NEVER_AS_STRING flag.. But that is not really a "solution"
Anyone know what the problem is and how to "fix" it?
EDIT:
This dude had the same problem:
http://www.mpgh.net/forum/782-garrys...gs-convar.html
I have a little problem.. When i create a cvar:
Code:
ConVar cvar = ConVar("cvartest", "test");
g_ICvar->RegisterConCommand(&cvar);
The only way to stop it from crashing is adding the FCVAR_NEVER_AS_STRING flag.. But that is not really a "solution"
Anyone know what the problem is and how to "fix" it?
EDIT:
This dude had the same problem:
http://www.mpgh.net/forum/782-garrys...gs-convar.html

