• DarkRP Printers - Changing color.
    2 replies, posted
Hello, i'm in the process of making a money printer that you can add an ink entity too. I am using NWInt Currently i'm trying to make it so if the printer runs out of ink it turns red. In function ENT:Think i have put [code] if self:GetNWInt("ink") < 1 then self:SetColor(255, 10, 10) end if self:GetNWInt("ink") >= 1 then self:SetColor(0, 0, 0) end [/code] but.... the printer does not change to color(0, 0,0) when i put the ink in... Can anybody help me out? Thanks in advance.
you need to put self:SetColor( Color( r, g, b, a ) );
[QUOTE=Busan1;47739142]you need to put self:SetColor( Color( r, g, b, a ) );[/QUOTE] Thanks!
Sorry, you need to Log In to post a reply to this thread.