Files
goldsrc-cheat/src/cvars.c
8dcc 3414d131f4 Add autoshoot
If this cvar is enabled (1), and the aimbot is enabled (fov>0), it will
stop attacking if there is no visible target.
2023-07-31 18:03:26 +02:00

29 lines
616 B
C

#include "include/cvars.h"
#include "include/sdk.h"
#include "include/globals.h"
DECL_CVAR(bhop);
DECL_CVAR(autostrafe);
DECL_CVAR(aimbot);
DECL_CVAR(autoshoot);
DECL_CVAR(esp);
DECL_CVAR(chams);
DECL_CVAR(crosshair);
DECL_CVAR(tracers);
DECL_CVAR(clmove);
bool cvars_init(void) {
REGISTER_CVAR(bhop, 1);
REGISTER_CVAR(autostrafe, 0);
REGISTER_CVAR(aimbot, 0);
REGISTER_CVAR(autoshoot, 0); /* Only works with aimbot enabled */
REGISTER_CVAR(esp, 3);
REGISTER_CVAR(chams, 1);
REGISTER_CVAR(crosshair, 0);
REGISTER_CVAR(tracers, 0);
REGISTER_CVAR(clmove, 0);
return true;
}