goldsrc-cheat/src/cvars.c

19 lines
400 B
C
Raw Normal View History

2023-07-21 07:44:18 -04:00
#include "include/cvars.h"
#include "include/sdk.h"
#include "include/globals.h"
DECL_CVAR(bhop);
2023-07-23 09:38:43 -04:00
DECL_CVAR(autostrafe);
2023-07-21 09:49:01 -04:00
DECL_CVAR(esp);
2023-07-24 11:03:06 -04:00
DECL_CVAR(chams);
2023-07-21 07:44:18 -04:00
bool cvars_init(void) {
2023-07-23 09:38:43 -04:00
cv_bhop = REGISTER_CVAR("bhop", "1");
cv_autostrafe = REGISTER_CVAR("autostrafe", "0");
cv_esp = REGISTER_CVAR("esp", "3");
2023-07-24 11:03:06 -04:00
cv_chams = REGISTER_CVAR("chams", "1");
2023-07-21 07:44:18 -04:00
return true;
}