• Change an SWEP's texture
    2 replies, posted
Does anybody know how I would change the texture of a weapon without having to make multiple models of the weapon?
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/SetMaterial]Entity:SetMaterial[/url] or [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/SetSubMaterial]Entity:SetSubMaterial[/url]?
For the Viewmodel, you've set it in PreDrawViewModel and reset that call with an empty SetMaterial on PostDrawViewModel. For Worldmodel DrawWorldModel is the correct place to look for it.
Sorry, you need to Log In to post a reply to this thread.