There will be a global table called NHTable that is supposed to be localized, like
Code:
local LOLTABLE = NHTable;
_G.NHTable = nil
// Aimbot stuff
SetViewAngles( cmd, Angle( 0, 0, 0 ) )
GetCommandNumber( cmd )
GetSeed( GetCommandNumber( cmd ) )
GetSpread( GetSeed( GetCommandNumber( cmd ) ), EyeAngles(), LocalPlayer():GetActiveWeapon().Spread )
IsDormant( Entity( ent:EntIndex() ) )
// File manager
StartSystem() Creates the AlexanderHack folder and minifolders in C:/.
RawRead( "maybeaconfig.cfg" ) Reads a file from "C:/AlexanderHack/filemanager/".
RawWrite( "maybeanewconfig.cfg", "aimbot = true; esp = true" ) Writes a file to "C:/AlexanderHack/filemanager/".
FileExists( "maybeanewconfig.cfg" ) Returns a bool if the file exists in "C:/AlexanderHack/filemanager/".
CreateDir( "configs" ) Creates a directory in "C:/AlexanderHack/filemanager/".
IsDir( "configs" ) Returns a bool if the "configs" folder exists in "C:/AlexanderHack/filemanager/".
GetFiles( "configs" ) Returns all the files inside "configs" in "C:/AlexanderHack/filemanager/" Works maybe? Non-tested.
GetDirectories( "configs" ) Returns all folders inside "configs" in "C:/AlexanderHack/filemanager/" Works maybe? Non-tested.
ProtectedRead( "file.lua" ) Reads a file from "C:/AlexanderHack/protectedfilemanager/", there is no write function for this folder.
// Misc stuff
RunConsoleCommand( "say lol" ).
GetLPIndex() Dont use this, it crashes.
GetTime() Returns the time in milliseconds.
GetServerIP() Returns the server ip.
These functions will not be explained further, if you dont understand them, you dont belong here.
There could have been way more functions like speedhack, requestfile, server lua stealer. But i didnt add it.