Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Garry's Mod Hacks & Cheats › Garry's Mod Coding & Resources › CAC Undetected Hook

CAC Undetected Hook

Posts 1–3 of 3 · Page 1 of 1
KI
kittydecat
CAC Undetected Hook
Welcome to mpgh users today kittix to buy a new cat-hackers, you're in the game.

Code:
local h = {
	hooks = {},
};

local null = function() end

function h.detour(typ)
	h.hooks[typ] = {};

	local ofunc = GAMEMODE[typ] || null;

	GAMEMODE[typ] = function(self, ...)

		ofunc(self, ...);

		for k,v in next, h.hooks[typ] do
			local ret1, ret2, ret3, ret4 = v(...);
			if(ret1) then return ret1, ret2, ret3, ret4; end
		end

	end
end

function h.Add(typ, func)
	if(!h.hooks[typ]) then
		h.detour(typ);
	end

	h.hooks[typ][ #h.hooks[typ] + 1 ] = func;
end

--example:

h.Add("Think", function() print("nice"); end);
#1 · 11y ago
tdsx
tdsx
debug.getupvalue
#2 · 11y ago
l1m3w1r3
l1m3w1r3
It's fixed in the newest cac is there any way to make it work again?
#3 · 11y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • Undetected hookBy DaRk in CrossFire Hack Coding / Programming / Source Code
    22Last post 14y ago
  • cac undetectable triggerbot possible? (lua)By l1m3w1r3 in Garry's Mod Discussions & Help
    4Last post 11y ago
  • undetected Hooks make hack undetected???By GreenMelon2.0 in Counter-Strike 2 Help
    8Last post 10y ago
  • Undetected hook system (no release, evur)By MeepDarknessMeep in Garry's Mod Discussions & Help
    15Last post 13y ago
  • how make undetected hookBy Vahan96 in CrossFire Hack Coding / Programming / Source Code
    1Last post 14y ago

Tags for this Thread

None