I’ve been trying to get a SWEP to draw a PNG material(the guns image) using the following code:
if ply:Alive() then
local mat = Material(innocent.png)
It either refuses to draw the image to hud or it’ll draw the image and then once dropped refuse to be picked up by the player. Any hints as to what’s going wrong? I have two lua files one in lua/weapons and the other in gamemodes/ents…/weps… both with the same lua inserted at the end of the SWEP.