Thread: Aimbot ESP?

Results 1 to 2 of 2
  1. #1
    MeepDarknessMeep's Avatar
    Join Date
    Aug 2012
    Gender
    female
    Posts
    725
    Reputation
    22
    Thanks
    924

    Aimbot ESP?

    Could someone please show me how to get the x, y of the screen compared to the x, y, z of the 3d world's player's head? Sorry I am bad at explaining :P

    EDIT: The title was supposed to be head esp. It should make an X on the player's heads.
    Last edited by MeepDarknessMeep; 04-05-2013 at 10:29 AM.

  2. #2
    MeepDarknessMeep's Avatar
    Join Date
    Aug 2012
    Gender
    female
    Posts
    725
    Reputation
    22
    Thanks
    924
    I found something similar. Was wondering if someone could help me convert it for a single point. (x,y,z pair)
    Code:
           local x1,y1,x2,y2 = coordinates(v)
            for _, value in pairs(traitornames) do
                if value == v then
                    surface.SetDrawColor(255,0,0)
                else
                    surface.SetDrawColor(0,255,0)
                end
            end
        
     
     
            surface.DrawLine( x1, y1, math.min( x1 + 5, x2 ), y1 )
            surface.DrawLine( x1, y1, x1, math.min( y1 + 5, y2 ) )
     
     
            surface.DrawLine( x2, y1, math.max( x2 - 5, x1 ), y1 )
            surface.DrawLine( x2, y1, x2, math.min( y1 + 5, y2 ) )
     
     
            surface.DrawLine( x1, y2, math.min( x1 + 5, x2 ), y2 )
            surface.DrawLine( x1, y2, x1, math.max( y2 - 5, y1 ) )
     
     
            surface.DrawLine( x2, y2, math.max( x2 - 5, x1 ), y2 )
            surface.DrawLine( x2, y2, x2, math.max( y2 - 5, y1 ) )
    And coordinates() =
    Code:
    local function coordinates( ent )
    local min, max = ent:OBBMins(), ent:OBBMaxs()
    local corners = {
            Vector( min.x, min.y, min.z ),
            Vector( min.x, min.y, max.z ),
            Vector( min.x, max.y, min.z ),
            Vector( min.x, max.y, max.z ),
            Vector( max.x, min.y, min.z ),
            Vector( max.x, min.y, max.z ),
            Vector( max.x, max.y, min.z ),
            Vector( max.x, max.y, max.z )
    }
     
    local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
    for _, corner in pairs( corners ) do
            local onScreen = ent:LocalToWorld( corner ):ToScreen()
            minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
            maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
    end
     
    return minX, minY, maxX, maxY
    end

Similar Threads

  1. [Release] Cod6 Multi Hack V1.066 by Wieter20 with aimbot esp UD
    By hacking1337 in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 46
    Last Post: 01-30-2010, 05:00 AM
  2. Build A Aimbot/Esp?
    By FpsGlock in forum Call of Duty Modern Warfare 2 Help
    Replies: 0
    Last Post: 01-20-2010, 07:21 PM
  3. [Release] multi hack, aimbot/esp/norecoil
    By teh1337coder in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 9
    Last Post: 12-11-2009, 01:59 AM
  4. [Info] Combat arms Aimbot+esp
    By IHelper in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 09-28-2009, 12:29 PM
  5. HL2 Hack With Aimbot|ESP| And much, Much more.
    By quin123 in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 10
    Last Post: 04-03-2009, 12:57 PM