Merge pull request #57 from IMXNOOBX/main

Merge updates from main into experimental
This commit is contained in:
ifBars
2023-10-25 22:48:22 -06:00
committed by GitHub
+5
View File
@@ -40,6 +40,10 @@ namespace hack {
const Vector3 c4ScreenPos = c4Origin.world_to_screen(view_matrix);
/**
* Sometimes C4 Position bugged if you look behind the C4, or C4 Screen Pos not in Screen Area
*/
if (c4ScreenPos.z >= 0.01f) {
float distance = localOrigin.calculate_distance(c4Origin);
float roundedDistance = std::round(distance / 500.f);
@@ -64,6 +68,7 @@ namespace hack {
10
);
}
}
int playerIndex = 0;
uintptr_t list_entry;