• Remove Entity Colour?
    1 replies, posted
I have added a few lines of code which makes weapons turn a certain colour depending on who picks them up, but I would also like the colour to be removed when the weapon is dropped. [QUOTE]function SWEP:OnDrop() Code goes here.. end[/QUOTE] Would anyone be able to assist me? It should only be a line or two? :P
[lua]function SWEP:OnDrop() self:SetColor(Color(255,255,255,255)) -- this is for GM13 (Beta); for GM12, use SetColor(255,255,255,255) end[/lua]
Sorry, you need to Log In to post a reply to this thread.