NodeHack Leaked

Posts 31–35 of 35 · Page 3 of 3
Quote Originally Posted by z346etn56jzd7egth View Post
Yes, and break all gamemodes hooking HUDPaintBackground gg. Seriously, stop being a skid and take the 30 extra seconds to make a somewhat proper hook.
or use drawoverlay...
Quote Originally Posted by Trollaux View Post


or use drawoverlay...
No, guys, let's just all start using debugoverlay in our ESPs so our hooks stop being detected!!1!
Quote Originally Posted by z346etn56jzd7egth View Post
Since you obviously have no idea what hooking means, allow me to demonstrate to you why you're wrong.


Here is hook_test.lua:
Code:
function GAMEMODE:Think()
	print("Original hook!")
end
The ouput:


Here is hook_test2.lua:
Code:
function GAMEMODE:Think()
	print("Oh shit, original hook is gone!")
end
Now here's what happens when I run hook_test2.lua:


Notice something? The original hook isn't being called anymore, here's what happens when I hook HUDPaint using your shitty method on DarkRP:


Congratz, my HUD is gone. The reason it doesn't break gamemodes such as Tyler's DM is because he probably uses hook.Add.

If you want to properly hook with gamemode hooks, you would have to do something like this:
Code:
OLD_THINK = OLD_THINK or GAMEMODE.Think
function GAMEMODE:Think()
	print("hooked!")
	OLD_THINK()
end
Now both of our hooks our working
_G.OLD_THINK = function() end

how many times do i need to tell you this
Quote Originally Posted by D3M0L1T10N View Post
_G.OLD_THINK = function() end
how many times do i need to tell you this
You never told me this and OLD_THINK is global anyways.
Quote Originally Posted by z346etn56jzd7egth View Post
You never told me this and OLD_THINK is global anyways.
i added _G so you would understand it easier

you should remember what willox told you
Posts 31–35 of 35 · Page 3 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us