Added cv_watermark

This commit is contained in:
Wizzard
2023-09-19 10:38:01 -04:00
parent f9db9ff1b6
commit 56f8ae79d7
8 changed files with 27 additions and 22 deletions

View File

@@ -74,8 +74,10 @@ void h_CL_CreateMove(float frametime, usercmd_t* cmd, int active) {
int h_HUD_Redraw(float time, int intermission) {
int ret = ORIGINAL(HUD_Redraw, time, intermission);
/* Watermark */
engine_draw_text(5, 5, "8dcc/hl-cheat", (rgb_t){ 255, 255, 255 });
if (cv_watermark->value) {
/* Watermark */
engine_draw_text(5, 5, "https://git.deadzone.lol/Wizzard/goldsource-cheat", (rgb_t){ 0, 255, 255 });
}
esp();
custom_crosshair();