goldsrc-cheat/src/cvars.c

17 lines
333 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-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", "0");
2023-07-21 07:44:18 -04:00
return true;
}