diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-27 15:59:10 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-27 15:59:10 +0100 |
| commit | 7f4ef75f8dca5a80808c15d89afe56d893b8a28e (patch) | |
| tree | 6551493265af662b73839aeff69d4038a577f475 /src/esp.cpp | |
| parent | Spread control: override the server FireBullets seed for the local player (diff) | |
| download | hl2h-7f4ef75f8dca5a80808c15d89afe56d893b8a28e.tar.gz hl2h-7f4ef75f8dca5a80808c15d89afe56d893b8a28e.zip | |
ESP/aimbot: mark male, female, monk and Odessa models friendly
Diffstat (limited to 'src/esp.cpp')
| -rw-r--r-- | src/esp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/esp.cpp b/src/esp.cpp index ae08258..3e25d53 100644 --- a/src/esp.cpp +++ b/src/esp.cpp | |||
| @@ -121,9 +121,9 @@ static bool is_npc_class(const char *name) { | |||
| 121 | 121 | ||
| 122 | static bool model_is_friendly(const char *m) { | 122 | static bool model_is_friendly(const char *m) { |
| 123 | static const char *patterns[] = { | 123 | static const char *patterns[] = { |
| 124 | "citizen", "humans/", "barney", "alyx", "alex", "scientist", | 124 | "citizen", "humans/", "male_", "female_", "barney", "alyx", |
| 125 | "kleiner", "eli", "mossman", "vortigaunt", "dog", "grigori", | 125 | "alex", "scientist", "kleiner", "eli", "mossman", "vortigaunt", |
| 126 | "monk", "gman", nullptr}; | 126 | "dog", "grigori", "monk", "odessa", "gman", nullptr}; |
| 127 | if (!m) return false; | 127 | if (!m) return false; |
| 128 | for (int i = 0; patterns[i]; i++) | 128 | for (int i = 0; patterns[i]; i++) |
| 129 | if (strstr(m, patterns[i])) | 129 | if (strstr(m, patterns[i])) |
