This commit is contained in:
julianacat 2017-08-18 16:55:39 -05:00
parent 1778dd1621
commit 74e5917111
2 changed files with 16 additions and 2 deletions

View File

@ -182,6 +182,18 @@
"esp_entity",
"esp_model_name",
"esp_entity_id",
{
"type": "list",
"name": "Colors",
"list": [
"esp_color_red_red",
"esp_color_red_green",
"esp_color_red_blue",
"esp_color_blue_red",
"esp_color_blue_green",
"esp_color_blue_blue"
]
},
{
"type": "list",
"name": "Emoji ESP",
@ -510,3 +522,5 @@
]
}
]

View File

@ -344,7 +344,7 @@ void _FASTCALL ProcessEntityPT(CachedEntity* ent) {
for (int i = 1; i > 30; i++) {
// Subtract 40 multiplyed by the tick from the end distance and use that as our length to check
Vector end_vector = forward_t * (end_distance - (40 * i)) + eye_position;
if (end_vector.DistTo(eye_position) < 40) break;
if (end_vector.DistTo(eye_position) <= 5) break;
if (draw::WorldToScreen(end_vector, scn2)) {
found_scn2 = true;
break;
@ -368,7 +368,7 @@ void _FASTCALL ProcessEntityPT(CachedEntity* ent) {
// Multiply starting distance by 40, multiplyed by the loop tick
Vector start_vector = forward_t * (40 * i) + eye_position;
// We dont want it to go too far
if (start_vector.DistTo(trace.endpos) < 40) break;
if (start_vector.DistTo(trace.endpos) <= 5) break;
// Check if we have a vector on screen, if we do then we set our status
if (draw::WorldToScreen(start_vector, scn1)) {
found_scn1 = true;