Coasterdude Posted March 16, 2007 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'.
ensiform Posted March 16, 2007 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.
Coasterdude Posted March 16, 2007 Author Posted March 16, 2007 Awesome, it works now, I cleaned then recompiled
Recommended Posts
Archived
This topic is now archived and is closed to further replies.