Add change box esp size if player is crouched

This commit is contained in:
8dcc 2023-07-24 20:35:22 +02:00
parent 9fe986306d
commit fdb5cdf356
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void esp(void) {
if (!valid_player(ent) || !is_alive(ent) || vec_is_zero(ent->origin)) if (!valid_player(ent) || !is_alive(ent) || vec_is_zero(ent->origin))
continue; continue;
const int bh = 70; const int bh = (ent->curstate.usehull) ? 44 : 70;
const int bw = 25; const int bw = 25;
/* If ESP_BOX is enabled, draw it. If it returns false, continue */ /* If ESP_BOX is enabled, draw it. If it returns false, continue */