gamemode hooks [never before seen]
ok since razor (I think) released a relatively horrible way to do gamemode hooks and I dont use gamemode hooks anymore I'll release this that I made when I used them
all u need to do is call the function, ive included a example of usage
all u need to do is call the function, ive included a example of usage
Code:
local Hooks = {
["CreateMove"] = {},
["HUDPaint"] = {}
}
local oGamemode = table.Copy(GAMEMODE)
local function HookersAtLarge()
for kopy, vaste in next, Hooks do
GAMEMODE[kopy] = function(...)
for internet, oralsex in next, Hooks[kopy] do
Hooks[kopy][internet](...)
end
return oGamemode[kopy](...)
end
end
end
function Hooks.CreateMove.Aimbot(self, usercmd)
// aimbot codes
usercmd:SetViewAngles(Angle(-90,90,230)) // money meme
end
