Coasterdude Posted March 16, 2007 Share Posted March 16, 2007 Okay I put this in cg_main.c vmCvar_t cwm_ViewDmgBlob; and this in cg_local.h extern vmCvar_t cwm_ViewDmgBlob; and this also in cg_main.c { &cwm_ViewDmgBlob, "cwm_ViewDmgBlob", "1", CVAR_ARCHIVE }, But ingame it says "unknown command cwm_ViewDmgBlob" and its not listed. But it still works. Any idea how I can make it 'known'. Link to comment Share on other sites More sharing options...
ensiform Posted March 16, 2007 Share Posted March 16, 2007 Shouldn't need to be, and using trap_AddCommand would be bad because then it would treat it as a command, not a CVar. Did you try cwm_ and press tab? I think maybe try cleaning source and recompiling and make sure your dlls are being used. Link to comment Share on other sites More sharing options...
Coasterdude Posted March 16, 2007 Author Share Posted March 16, 2007 Awesome, it works now, I cleaned then recompiled Link to comment Share on other sites More sharing options...
stubert Posted March 16, 2007 Share Posted March 16, 2007 gotta clear dat preprocessor filez yo Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.