Files
goldsrc-cheat/src/cvars.c

17 lines
333 B
C
Raw Normal View History

2023-07-21 13:44:18 +02:00
#include "include/cvars.h"
#include "include/sdk.h"
#include "include/globals.h"
DECL_CVAR(bhop);
2023-07-23 15:38:43 +02:00
DECL_CVAR(autostrafe);
2023-07-21 15:49:01 +02:00
DECL_CVAR(esp);
2023-07-21 13:44:18 +02:00
bool cvars_init(void) {
2023-07-23 15:38:43 +02:00
cv_bhop = REGISTER_CVAR("bhop", "1");
cv_autostrafe = REGISTER_CVAR("autostrafe", "0");
2023-07-24 10:18:29 +02:00
cv_esp = REGISTER_CVAR("esp", "1");
2023-07-21 13:44:18 +02:00
return true;
}