Skip to content

Instantly share code, notes, and snippets.

@SirUke
Created March 15, 2015 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SirUke/accd40662218520f38f8 to your computer and use it in GitHub Desktop.
Save SirUke/accd40662218520f38f8 to your computer and use it in GitHub Desktop.
addaddons.lua
local restricted = {
123456789 = false,
567890123 = false,
133731337 = false,
}
for k,v in pairs(engine.GetAddons()) do
if restriced[v.wsid] != false then
resource.AddFile( tostring(v.wsid) )
MsgC(Color(0,255,0),"[+]",Color(120,120,120)," Added ",Color(200,200,200), v.title)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment