I made the cvar declaration only declare in single line instead declaring in 3 lines interacting 2 files:
https://github.com/LegendaryGuard/BFP/c ... 5384c9649a
This reduces time and effort when creating a cvar in the code.
You can find that in this repository too (if you want to start with Q3 code (also there's Team Arena)):
https://github.com/ec-/baseq3a
For reference, it was based by OpenJK, credits: Razor.
https://github.com/JACoders/OpenJK/blob ... e/g_cvar.c
https://github.com/JACoders/OpenJK/blob ... /g_xcvar.h