Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cache = {}
- function GAMEMODE:RetrieveInfo(url, callback)
- url = url:lower()
- if cache[url] then
- return cache[url]
- end
- http.Get(url, "", function(info)
- cache[url] = info
- callback(info)
- end)
- emd
Advertisement
Add Comment
Please, Sign In to add comment