Add cv_crosshair cvar

This commit is contained in:
8dcc 2023-07-26 22:02:01 +02:00
parent 160aba82c1
commit ebe30c091a
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ DECL_CVAR(bhop);
DECL_CVAR(autostrafe);
DECL_CVAR(esp);
DECL_CVAR(chams);
DECL_CVAR(crosshair);
DECL_CVAR(clmove);
bool cvars_init(void) {
@ -14,6 +15,7 @@ bool cvars_init(void) {
cv_autostrafe = REGISTER_CVAR("autostrafe", "0");
cv_esp = REGISTER_CVAR("esp", "3");
cv_chams = REGISTER_CVAR("chams", "1");
cv_crosshair = REGISTER_CVAR("crosshair", "0");
cv_clmove = REGISTER_CVAR("clmove", "0");
return true;

View File

@ -33,6 +33,7 @@ DECL_CVAR_EXTERN(bhop);
DECL_CVAR_EXTERN(autostrafe);
DECL_CVAR_EXTERN(esp);
DECL_CVAR_EXTERN(chams);
DECL_CVAR_EXTERN(crosshair);
DECL_CVAR_EXTERN(clmove);
/*----------------------------------------------------------------------------*/