Cohsty243 Posted May 27, 2007 Share Posted May 27, 2007 Could I use cgs.somecommand = atoi( Info_ValueForKey( info, "somecommand" ) ); in cg_view.c? or does it only work in void CG_ParseServerinfo( void ) Link to comment Share on other sites More sharing options...
Tinny Posted May 27, 2007 Share Posted May 27, 2007 From what I see it should work in both, are you getting compile errors? Link to comment Share on other sites More sharing options...
Cohsty243 Posted May 27, 2007 Author Share Posted May 27, 2007 Well I can't compile in the first place, Have to wait till monday or tuesday. Oh and also do you know of any way of locking a cvar from toggling if and if statement is true. Link to comment Share on other sites More sharing options...
Tinny Posted May 27, 2007 Share Posted May 27, 2007 Hmm, can't figure that one out right now . Link to comment Share on other sites More sharing options...
Cohsty243 Posted May 27, 2007 Author Share Posted May 27, 2007 how about? trap_Cvar_Set( "g_something", "0" ); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.