Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 15.84 KB | None | 0 0
  1. void drawesp(IDirect3DDevice9* pDevice)
  2. {
  3.  
  4.     if (opt.options.reset)
  5.     {
  6.         dieForever();
  7.     }
  8.     int m_pWorld = Memory::ReadMemory<int>(BAddress + OFFSET_PYGAME + 0x410);
  9.  
  10.     int m_pSceneContext = Memory::ReadMemory<int>(m_pWorld + 0x8);
  11.     int cameraBase = Memory::ReadMemory<int>(m_pSceneContext + 0x4);
  12.     if (!Memory::ReadMemoryC<D3DXMATRIX>(cameraBase + 0xC4) && ingame == true)
  13.     {
  14.         //dieForever();
  15.         ingame = false;
  16.     }
  17.  
  18.     D3DXMATRIX worldMatrix = Memory::ReadMemory<D3DXMATRIX>(cameraBase + 0xC4);
  19.     int visibleCount = Memory::ReadMemory<int>(m_pWorld + 0x278);// 'As CModelFactory->CModelSkeletal 0x28 '0x27c
  20.     int pLocalModel = Memory::ReadMemory<int>(m_pWorld + 0x27C);
  21.     int pSkeletonList = Memory::ReadMemory<int>(m_pWorld + 0x290);// 'As CModelFactory->CModelSkeletal 0x3C 'pSkeletonList 0x28c
  22.  
  23.     D3DXVECTOR3 vScreen;
  24.     pDevice->GetViewport(&Viewport);
  25.     int width = (int)Viewport.Width;
  26.     int height = (int)Viewport.Height;
  27.     int num1 = Memory::ReadMemory<int>(BAddress + OFFSET_LOCAL);
  28.     int numnya = Memory::ReadMemory<int>(BAddress + 34);
  29.     Vector3 MyPosition;
  30.     auto pLocal = Memory::ReadMemory<int>(BAddress + 0x20EA28C);
  31.     int x = Memory::ReadMemory<int>(pLocal + 16) ^ Memory::ReadMemory<int>(Memory::ReadMemory<int>(pLocal + 20));
  32.     int y = Memory::ReadMemory<int>(pLocal + 24) ^ Memory::ReadMemory<int>(Memory::ReadMemory<int>(pLocal + 28));
  33.     int z = Memory::ReadMemory<int>(pLocal + 32) ^ Memory::ReadMemory<int>(Memory::ReadMemory<int>(pLocal + 36));
  34.     //MyPosition = Vector3 (*reinterpret_cast<float*>(&x)), *reinterpret_cast<float*>(&y), *reinterpret_cast<float*>(&z);
  35.     ClientApper::LinkedList* pGameObjects = *reinterpret_cast<ClientApper::LinkedList**>(ClientApper::GetInstance()->m_ppObjects);
  36.     if (!ClientApper::GetInstance()->m_ppObjects)
  37.         printf("FAIL 1");
  38.  
  39.     if (!pGameObjects)
  40.     {
  41.         printf("FAIL 2");
  42.     }
  43.     UINT counter = 0;
  44.     ClientApper::ListItem* pCurrentItem = pGameObjects->m_pStart;
  45.     //entity loop @IChooseYou and @lucastx
  46.     while (pCurrentItem && pCurrentItem != pGameObjects->m_pEnd)
  47.     {
  48.         for (int i = 0; i < visibleCount; i += 4)
  49.         {
  50.  
  51.  
  52.             int r_pModel = Memory::ReadMemory<int>(pSkeletonList + i);
  53.  
  54.  
  55.             int SpaceNode = Memory::ReadMemory<int>(r_pModel + 0x1C);
  56.             int m_pAnimator = Memory::ReadMemory<int>(r_pModel + 0x328);
  57.             D3DXMATRIX m_Position = Memory::ReadMemory<D3DXMATRIX>(r_pModel + 0x3B0);
  58.  
  59.             string m_pModelName = Memory::ReadString(Memory::ReadMemory<int>(m_pAnimator + 0x528), 16);
  60.             string str = m_pModelName;
  61.  
  62.             bool isPlayer = findnew(str, "character");
  63.             bool Riffle_Ammo = findnew(str, "Rifle Ammo");
  64.             bool isVehicle = findnew(str, "vehicle");// (str.find("Land") != std::string::npos);
  65.             bool isBot = (std::string::npos != str.find("Robot"));
  66.             bool isItem = (std::string::npos != str.find("DtsProp"));
  67.             bool isSupplyBox = (std::string::npos != str.find("DtsPlayerHeritage"));
  68.             bool isPlane = (std::string::npos != str.find("Plane"));
  69.             bool isWeapon = (std::string::npos != str.find("ClientWeaponEntity"));
  70.             bool isCar = (std::string::npos != str.find("LandCar"));
  71.             bool isBicycle = (std::string::npos != str.find("LandBike"));
  72.             bool isExpress = (std::string::npos != str.find("LandExpress"));
  73.             bool isMotor = (std::string::npos != str.find("LandMotor"));
  74.             bool isGlider = (std::string::npos != str.find("LandGlider"));
  75.             bool isBoat = (std::string::npos != str.find("LandBoat"));
  76.             bool isBattleGround = (std::string::npos != str.find("BattleGroundSpace"));
  77.  
  78.  
  79.  
  80.             D3DXVECTOR3 EnemyPos;
  81.             Vector3 EnemyPos1;
  82.             EnemyPos.x = m_Position[12];
  83.             EnemyPos.y = m_Position[13];
  84.             EnemyPos.z = m_Position[14]; // kung mararapatin pwede q ba mahinge yun sayo?
  85.             if (i == 0)
  86.             {
  87.                 MyPosition.x = EnemyPos.x;
  88.                 MyPosition.y = EnemyPos.y;
  89.                 MyPosition.z = EnemyPos.z;
  90.                 continue;
  91.  
  92.             }
  93.             if (ClientApp::WorldToScreen(EnemyPos, vScreen, worldMatrix, width, height))
  94.             {
  95.  
  96.                 if (isPlayer)
  97.                 {
  98.  
  99.  
  100.  
  101.  
  102.                     if (opt.espopt.lines)
  103.                     {
  104.                         DrawLine1(pDevice, (float)(width / 2) - 1, 1, vScreen.x, vScreen.y, BLUE(255));
  105.  
  106.                     }
  107.                     //DrawLine1(pDevice, vScreen.x, vScreen.y, width / 0.1, height - 15.0f, BLUE(255));
  108.  
  109.                     float entityHeight = 21.5f;
  110.                     D3DXVECTOR3 pRoot;
  111.                     ClientApp::WorldToScreen(EnemyPos, pRoot, worldMatrix, width, height);
  112.                     D3DXVECTOR3 eHead;
  113.                     eHead.x = EnemyPos.x;
  114.                     eHead.y = EnemyPos.y + entityHeight;
  115.                     eHead.z = EnemyPos.z;
  116.                     float dist2 = GetDistance(MyPosition, EnemyPos1, 10);
  117.                     D3DXVECTOR3 pHead;
  118.                     ClientApp::WorldToScreen(eHead, pHead, worldMatrix, width, height);
  119.                     struct Rectangle
  120.                     {
  121.                         int width;
  122.                         int height;
  123.                         int X;
  124.                         int Y;
  125.                     };
  126.                     Rectangle rect;
  127.                     rect.width = (int)(700 / dist2);
  128.                     if (rect.width > 100)
  129.                     {
  130.                         rect.width = 100;
  131.                     }
  132.                     rect.height = (int)(pRoot.y - pHead.y);
  133.                     rect.X = (int)pRoot.x - rect.width / 2;
  134.                     rect.Y = (int)pRoot.y - rect.height;
  135.                     if (dist2 > 25)
  136.                     {
  137.                         rect.Y = (int)pRoot.y - rect.height + 15;
  138.                     }
  139.  
  140.                     if (opt.espopt.box3)
  141.                     {
  142.                         D3DXVECTOR3 Pos0, Pos1, Pos2, Pos3, Pos4, Pos5, Pos6, Pos7, Pos8;
  143.                         D3DXVECTOR3 EnemyPos1 = EnemyPos;
  144.                         EnemyPos1.y -= 10;
  145.                         D3DXVECTOR3 eHead1 = eHead;
  146.                         eHead1.y += 10;
  147.                         Pos0 = GetMidPoint(eHead1, EnemyPos1);
  148.                         Pos1 = Pos0 + D3DXVECTOR3(-5, 17, -5);
  149.                         Pos2 = Pos0 + D3DXVECTOR3(-5, -17, -5);
  150.                         Pos3 = Pos0 + D3DXVECTOR3(5, -17, -5);
  151.                         Pos4 = Pos0 + D3DXVECTOR3(5, 17, -5);
  152.                         Pos5 = Pos0 + D3DXVECTOR3(-5, 17, 5);
  153.                         Pos6 = Pos0 + D3DXVECTOR3(-5, -17, 5);
  154.                         Pos7 = Pos0 + D3DXVECTOR3(5, -17, 5);
  155.                         Pos8 = Pos0 + D3DXVECTOR3(5, 17, 5);
  156.                         D3DXVECTOR3 bone1;
  157.                         D3DXVECTOR3 bone2;
  158.                         D3DXVECTOR3 bone3;
  159.                         D3DXVECTOR3 bone4;
  160.                         D3DXVECTOR3 bone5;
  161.                         D3DXVECTOR3 bone6;
  162.                         D3DXVECTOR3 bone7;
  163.                         D3DXVECTOR3 bone8;
  164.                         if (true)
  165.                         {
  166.                             if (ClientApp::WorldToScreen(Pos1, bone1, worldMatrix, width, height)
  167.                                 && ClientApp::WorldToScreen(Pos2, bone2, worldMatrix, width, height)
  168.                                 && ClientApp::WorldToScreen(Pos3, bone3, worldMatrix, width, height)
  169.                                 && ClientApp::WorldToScreen(Pos4, bone4, worldMatrix, width, height)
  170.                                 && ClientApp::WorldToScreen(Pos5, bone5, worldMatrix, width, height)
  171.                                 && ClientApp::WorldToScreen(Pos6, bone6, worldMatrix, width, height)
  172.                                 && ClientApp::WorldToScreen(Pos7, bone7, worldMatrix, width, height)
  173.                                 && ClientApp::WorldToScreen(Pos8, bone8, worldMatrix, width, height))
  174.                             {
  175.                                 DrawLine1(pDevice, bone1.x, bone1.y - 38, bone2.x, bone2.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  176.                                 DrawLine1(pDevice, bone2.x, bone2.y - 38, bone3.x, bone3.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  177.                                 DrawLine1(pDevice, bone3.x, bone3.y - 38, bone4.x, bone4.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  178.                                 DrawLine1(pDevice, bone4.x, bone4.y - 38, bone1.x, bone1.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  179.                                 DrawLine1(pDevice, bone5.x, bone5.y - 38, bone6.x, bone6.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  180.                                 DrawLine1(pDevice, bone6.x, bone6.y - 38, bone7.x, bone7.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  181.                                 DrawLine1(pDevice, bone7.x, bone7.y - 38, bone8.x, bone8.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  182.                                 DrawLine1(pDevice, bone8.x, bone8.y - 38, bone5.x, bone5.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  183.                                 DrawLine1(pDevice, bone1.x, bone1.y - 38, bone5.x, bone5.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  184.                                 DrawLine1(pDevice, bone2.x, bone2.y - 38, bone6.x, bone6.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  185.                                 DrawLine1(pDevice, bone3.x, bone3.y - 38, bone7.x, bone7.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  186.                                 DrawLine1(pDevice, bone4.x, bone4.y - 38, bone8.x, bone8.y - 38, D3DCOLOR_ARGB(255, 255, 255, 000));
  187.                             }
  188.  
  189.                         }
  190.                     }
  191.  
  192.                     /*D3DXVECTOR3 ScreenBot;
  193.                     if (WorldToScreens(EnemyPos, vScreen, worldMatrix) && WorldToScreens(eHead, ScreenBot, worldMatrix))
  194.                     {
  195.                     if (opt.espopt.resizebox)
  196.                     {
  197.                     float B_Distance = GetDistancer(MyPosition, EnemyPos, 10);
  198.                     Box3D(pDevice, ScreenBot.x, ScreenBot.y, vScreen.x, vScreen.y, B_Distance, Menu.RED);
  199.                     }
  200.                     }*/
  201.                     int headradi;
  202.                     D3DXVECTOR2 scneck, schead;
  203.                     D3DXVECTOR3 vec3neck;
  204.                     D3DXVECTOR4 neck;
  205.                     D3DXVECTOR3 vec3head;
  206.                     //vec3head = Model.m_ModelSkeletal->m_pAnimator->GetBonePosition(neck, 14, Character->f_Yaw, Character->f_Pitch);
  207.                     //vec3neck = Model.m_ModelSkeletal->m_pAnimator->GetBonePosition(neck, 33, Character->f_Yaw, Character->f_Pitch);
  208.                     if (ClientApp::WorldToScreen(eHead, pHead, worldMatrix, width, height) && ClientApp::WorldToScreen(pHead, eHead, worldMatrix, width, height))
  209.                     {
  210.                         D3DXVECTOR3 Box = pHead - eHead;
  211.                         if (Box.y < 0) Box.y *= -1;
  212.                         headradi = (int)Box.y * 1.5;
  213.                         if (opt.espopt.bonehead)
  214.                             DrawCircle(eHead.x, eHead.y - (headradi + 2.3), 2.3 + headradi, RED(255), pDevice);
  215.                     }
  216.                     int Adress1 = Memory::ReadMemory<int>(Memory::ReadMemory<int>(BAddress + OFFSET_CLIENT) + m_pppObjects);
  217.                     int Adress2 = Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Adress1))));
  218.                     int Adress3 = Memory::ReadMemory<int>(Adress2 + 12);
  219.  
  220.                     int PlayerHP = Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Adress3 + 256) + 20) + 152) + 8);
  221.  
  222.                     if (isPlayer && opt.espopt.name && PlayerHP != 0)
  223.                         DrawString(Font, vScreen.x, vScreen.y - 20, RED(255), (PCHAR)"Player");
  224.                     D3DXVECTOR3 vHeadScreen(0, 0, 0);
  225.  
  226.                     if (opt.espopt.boxer && ClientApp::WorldToScreen(eHead, vScreen, worldMatrix, width, height))
  227.                     {
  228.                         Box3D(pDevice, eHead.x, eHead.y, vScreen.x, vScreen.y, dist2, RED(255));
  229.                     }
  230.  
  231.                     /*
  232.                     BOOL pEntityPlayer = Memory::ReadMemory<int>(Memory::ReadMemory<int>(BAddress + OFFSET_CLIENT) + m_ppObjects);
  233.                     pEntityPlayer = Memory::ReadMemory<int>(pEntityPlayer + 0x0);
  234.                     int pStart = Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(pEntityPlayer))));
  235.                     int pEnd = Memory::ReadMemory<int>(pStart + 0x4);
  236.                     int Entity = Memory::ReadMemory<int>(pStart + 0xC);
  237.                     int Nickname = Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Entity + 0x100) + 0xC) + 0x8) + 0x14);
  238.                     char zPlayer[100];
  239.                     sprintf(zPlayer, "%s", Nickname);
  240.  
  241.                     if (opt.espopt.nick)
  242.                     WriteText(pDevice, vScreen.x, vScreen.y, RED(255), zPlayer);
  243.                     */
  244.                     //DC YAN FIX MO KUNG GUSTO MO MAPAGANA
  245.                     //  char* Nick = Client->m_pFirst->m_pStart->m_pEntity->m_pMeta->pName;
  246.                     //  char zPlayer[100];
  247.                     //  sprintf(zPlayer, "%s", Nick);
  248.                     //  if (opt.espopt.nick)
  249.                     //  WriteText(pDevice, vScreen.x, vScreen.y, RED(255), zPlayer);
  250.                     //POINT pt;
  251.                     if (opt.espopt.box2)
  252.                         Box2D(pHead, pRoot, GREEN(255), pDevice);
  253.                     //  int PlayerHP = Client->m_pFirst->m_pEnd->m_pEntity->m_pTable->pTable->m_MaxHpRow->HP;
  254.                     //int PlayerHP = Client->m_pFirst->m_pStart->m_pEntity->m_pTable->pTable->m_HpRow->HP;
  255.                     //int num6 = 100;
  256.                     //int PlayerHP = 100;
  257.                     //int num6 = Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(Memory::ReadMemory<int>(r_pModel + 256) + 20) + 152) + 8);
  258.                     char getHP[20];
  259.                     sprintf(getHP, "[%d]", PlayerHP);
  260.                     if (opt.espopt.healthtext)
  261.                         WriteText(pDevice, vScreen.x - 10, vScreen.y + 55, RED(255), getHP);
  262.  
  263.                     char result[100] = "";
  264.                     sprintf(result, "Distance: %.1f m", (dist2));
  265.                     if (opt.espopt.dist)
  266.                         DrawString(Font, vScreen.x, vScreen.y - 10, WHITE(255), (PCHAR)result);
  267.  
  268.  
  269.  
  270.                     if (isVehicle && opt.espopt.vehicle)
  271.                         DrawString(Font, vScreen.x, vScreen.y, RED(255), "CAR");
  272.                     char cardist[100] = "";
  273.                     sprintf(cardist, "Distance : %.1f m", (dist2));
  274.                     if (isVehicle && opt.espopt.vehicle)
  275.                         if (opt.espopt.vehicle)
  276.                             DrawString(Font, vScreen.x - 10.0f, vScreen.y + 15.0f, RED(255), cardist);
  277.                     /*
  278.                     Client->m_pFirst->m_pStart->m_pEntity->Vals;
  279.                     Client->m_UnkObjectCount;
  280.                     Client->m_pFirst->m_pEnd->m_pEntity->m_ObjectId;
  281.  
  282.                     */
  283.                     char* PlayerName = Client->m_pFirst->m_pStart->m_pEntity->m_pMeta->pName;
  284.                     sprintf(PlayerName, "%i", (dist2));
  285.                     if (opt.espopt.name)
  286.                         WriteText(pDevice, vScreen.x, vScreen.y, RED(255), PlayerName);
  287.  
  288.                     if (opt.espopt.rainbow)
  289.                     {
  290.                         Healthbar(pDevice, vScreen.x - 50, vScreen.y + 25, (int)PlayerHP, false);
  291.                     }
  292.  
  293.  
  294.                     if (opt.espopt.health)
  295.                     {
  296.                         if (PlayerHP >= 100)
  297.                         {
  298.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, GREEN(255), (PCHAR)"▪▪▪▪▪▪▪▪▪▪");
  299.                         }
  300.                         if (PlayerHP >= 90)
  301.                         {
  302.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, GREEN(255), (PCHAR)"▪▪▪▪▪▪▪▪▪");
  303.                         }
  304.                         if (PlayerHP >= 80)
  305.                         {
  306.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, YELLOW(255), (PCHAR)"▪▪▪▪▪▪▪▪");
  307.                         }
  308.                         if (PlayerHP >= 70)
  309.                         {
  310.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, YELLOW(255), (PCHAR)"▪▪▪▪▪▪▪");
  311.                         }
  312.                         if (PlayerHP >= 60)
  313.                         {
  314.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, ORANGE(255), (PCHAR)"▪▪▪▪▪▪");
  315.                         }
  316.                         if (PlayerHP >= 50)
  317.                         {
  318.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, ORANGE(255), (PCHAR)"▪▪▪▪▪");
  319.                         }
  320.                         if (PlayerHP >= 40)
  321.                         {
  322.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, GREY(255), (PCHAR)"▪▪▪▪");
  323.                         }
  324.                         if (PlayerHP >= 30)
  325.                         {
  326.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, GREY(255), (PCHAR)"▪▪▪");
  327.                         }
  328.                         if (PlayerHP >= 20)
  329.                         {
  330.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, RED(255), (PCHAR)"▪▪");
  331.                         }
  332.                         if (PlayerHP >= 10)
  333.                         {
  334.                             DrawString(Font, vScreen.x - 10, vScreen.y + 15, RED(255), (PCHAR)"▪");
  335.                         }
  336.                     }
  337.  
  338.                     else
  339.                         if (isBot && opt.espopt.player)
  340.                             DrawString(font, vScreen.x, vScreen.y, GREEN(255), (PCHAR)"BOT");
  341.  
  342.                     if (opt.espopt.type)
  343.                     {
  344.                         DrawString(Font, vScreen.x, vScreen.y, PINK(255), (PCHAR)str.c_str());
  345.                     }
  346.  
  347.                     else
  348.                         if (isItem && opt.espopt.item)
  349.                         {
  350.  
  351.                             //  int cliententitytable = reinterpret_cast<UINT_PTR>(Client->m_ppObjects + 0x100);
  352.                             //int cliententitytable = *Memory::ReadMemory<ClientApper::LinkedList**>(Client->m_ppObjects + 0x100);
  353.                             //  int cliententitytableptr = Memory::ReadMemory<int>(cliententitytable + 0x14);
  354.                             //  int propID = Memory::ReadMemory<int>(Memory::ReadMemory<int>(cliententitytableptr + 0x2C) + 0x8);
  355.                             //string itemName;
  356.                             //if (itemName == "Ghillie Suit" || itemName == "SMG QD-EX-Mag" || itemName == "8x Scope" || itemName == "4x Scope" || itemName == "SR EX-QD-Mag" || itemName == "Rifle EX-QD-Mag" || itemName == "RPG Ammo" || itemName == "SR Ammo" || itemName == "Rifle Ammo" || itemName == "SMG Silencer" || itemName == "SR Silence" || itemName == "Rifle Silencer" || itemName == "AUG Rifle" || itemName == "M110 Sniper Rifle" || itemName == "SVD SR" || itemName == "Thompson SMG" || itemName == "M14EBR Rifle" || itemName == "Lv 3 helmet" || itemName == "Lv 3 Armor" || itemName == "Lv 3 Backpack" || itemName == "First Aid Kit" || itemName == "Med Kit" || itemName == "Bandage" || itemName == "M4A1 Rifle" || itemName == "AKM Rifle" || itemName == "AWM SR" || itemName == "Barett SR")
  357.                             if (Riffle_Ammo && opt.espopt.item)
  358.                                 DrawString(Font, vScreen.x, vScreen.y, YELLOW(255), (PCHAR)"Rifle Ammo");//getitemname(propID)); //(PCHAR)str.c_str()/*getitemname(propID)*/);
  359.                         }
  360.                         else
  361.                             if (isVehicle && opt.espopt.vehicle)
  362.                             {
  363.                                 DrawString(Font, vScreen.x, vScreen.y, BLUE(255), (PCHAR)"VEHICLE");
  364.                             }
  365.                             else
  366.                                 if (isWeapon &&opt.espopt.item)
  367.                                     DrawString(Font, vScreen.x, vScreen.y, BLACK(100), (PCHAR)"WEAPON");
  368.  
  369.                 }
  370.                 counter++;
  371.                 pCurrentItem = pCurrentItem->m_pNext;
  372.             }
  373.         }
  374.     }
  375. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement