Aprilon
http://aprilon.org/forum/

[Script] To find pesky hidden E2 chips
http://aprilon.org/forum/viewtopic.php?f=8&t=1294
Page 1 of 1

Author:  Bloody [ 07 Jul 2010, 15:50 ]
Post subject:  [Script] To find pesky hidden E2 chips

Code:
/*
  * Find E2 - a lua script by LifeTimeBLOOD.info to find (hidden) E2 chips.
  * You may modify this script to fit your needs.
*/

local function StartPaint()
   hook.Add("HUDPaint", "DrawE2Finder", function ()
      local chips = findE2()
      draw.SimpleText(string.format("%d E2 chips found.", #chips), "ScoreboardText", 8, 32, Color(255, 255, 128, 128))
      
      for i = 1, #chips do
         local p = chips[i]:GetPos():ToScreen()
         local ent = chips[i];
         
         //if(p.visible) then
            local owner = "n/a"
            local steamid = ""
            
            if ent:IsValid() then owner = ent:GetNetworkedString("Owner", "n/a") end
            if ent:GetNetworkedEntity("OwnerObj", false) then steamid = ent:GetNetworkedEntity("OwnerObj", false):SteamID() end
            
            if steamid != "" then owner = owner .. " " .. steamid end
            
            local text = string.format("%s #%d (by %s)", ent:GetClass(), ent:EntIndex(), owner)
            //#print(text);
            draw.SimpleText(text, "ScoreboardText", p.x, p.y, Color(255, 255, 255, 255))
         //end
      end
   end)
end

function findE2()
   chips = { }
   for k,v in pairs(ents.FindByClass("gmod_wire_expression2")) do
      table.insert(chips, v)
   end
   return chips
end

StartPaint()

Screenshot:
Spoiler: Show
Image


This is a Lua script I made to find hidden / invisible E2 (minge) chips. (Works only clientside)
Shows total E2 chips in upper left corner of the screen and draws a text describing the E2 chip at their location, much like ESP in cheats.

Installation: Copy to your Lua directory.

Usage: lua_openscript_cl find_e2.lua to start, lua_run_cl hook.Remove("HUDPaint", "DrawE2Finder") to disable.

Uninstall: Delete the script from your Lua directory.

Author:  RoY4lZ [ 07 Jul 2010, 16:00 ]
Post subject:  Re: [Script] To find pesky hidden E2 chips

I want to marry you. :D

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/