Stuff
This commit is contained in:
parent
1778dd1621
commit
74e5917111
@ -182,6 +182,18 @@
|
|||||||
"esp_entity",
|
"esp_entity",
|
||||||
"esp_model_name",
|
"esp_model_name",
|
||||||
"esp_entity_id",
|
"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",
|
"type": "list",
|
||||||
"name": "Emoji ESP",
|
"name": "Emoji ESP",
|
||||||
@ -510,3 +522,5 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -344,7 +344,7 @@ void _FASTCALL ProcessEntityPT(CachedEntity* ent) {
|
|||||||
for (int i = 1; i > 30; i++) {
|
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
|
// 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;
|
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)) {
|
if (draw::WorldToScreen(end_vector, scn2)) {
|
||||||
found_scn2 = true;
|
found_scn2 = true;
|
||||||
break;
|
break;
|
||||||
@ -368,7 +368,7 @@ void _FASTCALL ProcessEntityPT(CachedEntity* ent) {
|
|||||||
// Multiply starting distance by 40, multiplyed by the loop tick
|
// Multiply starting distance by 40, multiplyed by the loop tick
|
||||||
Vector start_vector = forward_t * (40 * i) + eye_position;
|
Vector start_vector = forward_t * (40 * i) + eye_position;
|
||||||
// We dont want it to go too far
|
// 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
|
// Check if we have a vector on screen, if we do then we set our status
|
||||||
if (draw::WorldToScreen(start_vector, scn1)) {
|
if (draw::WorldToScreen(start_vector, scn1)) {
|
||||||
found_scn1 = true;
|
found_scn1 = true;
|
||||||
|
Reference in New Issue
Block a user