Advertisement
allen343434

Untitled

Mar 23rd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. if (opt.esp.box || opt.esp.health || opt.esp.line || opt.esp.name || opt.esp.mode || opt.aimbot.bot)
  2. {
  3.  
  4. CPlayer *pMyInfo = pClassManager.GetPlayerByIndex(pClassManager.GetMyIndex());
  5.  
  6. for (int i = 0; i < 16; i++)
  7. {
  8. CPlayer *pInfo = pClassManager.GetPlayerByIndex(i);
  9.  
  10. if (!pInfo->Health() < 1)
  11. {
  12. D3DXVECTOR3 HeadPos = pInfo->vHeadCords;
  13. D3DXVECTOR3 FootPos = pInfo->vFootCords;
  14.  
  15. D3DXVECTOR3 MyFootPos = pMyInfo->vFootCords;
  16.  
  17. pDevice->GetViewport(&Tools.g_ViewPort);
  18.  
  19. DWORD ScreenCenterX = Tools.g_ViewPort.Width / 2;
  20. DWORD ScreenCenterY = Tools.g_ViewPort.Height / 2;
  21.  
  22. if (Tools.W2S(pDevice, HeadPos))
  23. {
  24. //Tools.DrawRect(pDevice, HeadPos.x, HeadPos.y, 2, 2, Menu.RED);
  25. }
  26.  
  27. if (Tools.W2S(pDevice, FootPos))
  28. {
  29.  
  30. if (opt.esp.name)
  31. {
  32.  
  33. }
  34.  
  35. if (opt.esp.health)
  36. {
  37.  
  38. }
  39.  
  40. if (opt.esp.box)
  41. {
  42.  
  43. }
  44.  
  45. if (opt.esp.line)
  46. {
  47.  
  48. }
  49. }
  50. }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement