• ERROR attempt to call method 'SetMaterialTexture' (a nil value)
    1 replies, posted
[ERROR] gamemodes/halo/entities/weapons/halo_dm_ma5b/cl_init.lua:42: attempt to call method 'SetMaterialTexture' (a nil value) 1. unknown - gamemodes/halo/entities/weapons/halo_dm_ma5b/cl_init.lua:42 Can someone please help me with this error? at line 42 is [lua] num_one:SetMaterialTexture( "$basetexture", numtexture_one ) [/lua] Much appreciated
As of GMod 13, IMaterial:SetMaterialTexture(String parameter, Texture value) is now IMaterial:SetTexture(String parameter, Texture value).
Sorry, you need to Log In to post a reply to this thread.