OutdatedAutoWall

Posts 1–2 of 2 · Page 1 of 1
AutoWall
Simplest auto wall

Code:
AutoWall = function( self , pos )
 
    local trace = { }
 
    trace.start = LocalPlayer():GetShootPos()
 
    trace.endpos = pos
 
    trace.mask = 1577075107
 
    trace.filter = { LocalPlayer() , self }
   
    local wall = util.TraceLine( trace )
   
    trace.start = pos
 
    trace.endpos = LocalPlayer():GetShootPos()
 
    local wall2 = util.TraceLine( trace )
 
    if ( ( wall2.HitPos - wall.HitPos ):Length2D() < ( 25 ) ) then return ( pos ) end
 
end
simplest and worst too
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us