Hey, i tried to add a item to the pointshop that would color the player in specified colors.
Once the player buys the item, the playermodel colors to pink, whatever color they buy. Thats the code
ITEM.Name = 'Color Blue' ITEM.Price = 500 ITEM.Model = ("models/weapons/w_medkit.mdl") function ITEM:OnEquip(ply, modifications) ply:SetColor(0,0,255,255) end
Yes i know its a nooby code, but it was the easiest i could think of.
Any idea why the player turns pink instead of Blue?