Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if CLIENT then
- OtherRenders = {}
- local old = hook
- function hook(name,id,callback)
- if name == "render" then
- OtherRenders[#OtherRenders+1] = callback
- else
- old(name,id,callback)
- end
- end
- function hook.add(name,id,callback)
- hook(name,id,callback)
- end
- old("render","override",function()
- for i=1,#OtherRenders do
- OtherRenders[i]()
- end
- --rendershithere
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement