Help! how to esp line is overhead?

CRaZYAuf

Platinian
Aug 28, 2020
27
15
3
Russia
Code:
//Head
Vector3 HeadPos = getPosition(Player);

Vector3 Head = Vector3(HeadPos.x, HeadPos.y + 0.5,HeadPos.z);
    
//WorldToScreen
auto HeadPosition = WorldToScreen(Head);

//Draw
esp.DrawLine(Color::White(), 1,Vector2(screenWidth / 2, 0),Vector2(HeadPosition.x,screenHeight - HeadPosition.y));
You can use the method shown above or use the bone location.
 
  • Like
Reactions: User61625 and alsya

alsya

Solid & Active Platinian
Original poster
Oct 21, 2021
80
18
8
unknown
[KODE]//Kepala
Vector3 HeadPos = getPosition(Pemain);

Vector3 Head = Vector3(HeadPos.x, HeadPos.y + 0.5,HeadPos.z);

//DuniaKeLayar
Auto HeadPosition = WorldToScreen(Kepala);

//Seri
esp.DrawLine(Color::White(), 1,Vector2(screenWidth / 2, 0),Vector2(HeadPosition.x,screenHeight - HeadPosition.y));
[/KODE]

Anda dapat menggunakan metode yang ditunjukkan di atas atau menggunakan lokasi tulang.
[/MENGUTIP]
THANKS AKHIRNYA
 
  • Like
Reactions: CRaZYAuf