New topic New reply  Page 1 of 1
 [ 2 posts ] 
Hacker Hacker
User avatar
20 Mar 2010, 20:58
467 Posts

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.
Server Admin Server Admin
User avatar
27 Dec 2009, 10:09
618 Posts

I want to marry you. :D

_________________
Known as RoY4lZ on Steam and Minecraft
Known as Ponystroker69 on Origin.
New topic New reply  Page 1 of 1
 [ 2 posts ] 
Who is online
Users browsing this forum: No registered users and 29 guests

  
cron