bad argument #2 to 'SetTexture' (ITexture expected, got userdata)


Material("painted"):SetTexture("$basetexture","sky_day01_09") -- also tried skybox/sky_day01_09

i’m trying to accomplish this: http://forum.facepunch.com/showthread.php?t=1076425


(User was banned for this post ("Duplicate thread" - Shendow))