Outdatedpro hacker file functions (pHackerFiles)

Posts 1–7 of 7 · Page 1 of 1
pro hacker file functions (pHackerFiles)
Code:
local function SaveTableToFile(tblTable, strFileName)
	if (1 > table["Count"](tblTable)) then
		return false
	else
		local strjFile = util["TableToJSON"](tblTable)

		if (!strjFile || !isstring(strjFile) || 10 > strjFile:len()) then
			return false
		end

		file["Write"](strFileName, strjFile)
		return true
	end

	return false
end

local function GetTableFromFile(strFileName)
	local strFile = file["Read"](strFileName, "DATA")
	
	if (!strFile || !isstring(strFile) || 10 > strFile:len()) then
		return false
	else
		local tblFile = util["JSONToTable"](strFile)

		if (!tblFile || !istable(tblFiles) || 1 >= table["Count"](tblFile)) then
			return false
		end

		return tblFile
	end

	return false
end
copyright (C) autism enforcer at MPGH!!!!!!!! I WIL DMCA U IF YOUJ THINK ABOUT POST THIS ON OTHER SITE IT IS LICENSE WITH DMCA COPYRIGHT !
what's even going on with this code
Since we love copy pasta.
Code:
local function loadconfig()
        if(!file.Exists("copypasta.txt", "DATA")) then return; end
        local tab = util.JSONToTable( file.Read("copypasta.txt", "DATA") );
        local cursub;
        for k,v in next, tab do
                if(!options[k]) then continue; end
                for men, subtab in next, v do
                        for key, val in next, subtab do
                                if(key == 1) then cursub = val[1]; continue; end
                                updatevar(k, cursub, val[1], val[3]);
                        end
                end
        end
end
local function saveconfig()
        file.Write("copypasta.txt", util.TableToJSON(options));
end
thank you for code , i will Use for Cofnig Saving with new release of my HackBot, i will add a Menu !
how to use this? all i see is text.
just loaded my fast lua aimbot on cac server thanks for the pHack!!!!!!!
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?