예제 #1
0
 public static void RunNoSmokePanorama()
 {
     if (CheatStatus.NoSmokeActive)
     {
         for (int i = 0; i < 512; i++)
         {
             int EntBase = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + i * 0x10);
             if (EntBase == 0)
             {
                 continue;
             }
             if (EngineClient.GetClassId(EntBase) == ClassID.CSmokeGrenadeProjectile)
             {
                 CylMem.CWrite <Vector3>(EntBase + m_vecOrigin, new Vector3(999, 999, 999));
             }
         }
     }
 }