Clientside SetColor(Color(0,0,0,255)) reverts back to Color(Color(255,255,255,255)) as soon as target entity moves.
[code]
function ClientColor()
for k, v in pairs(ents.GetAll()) do
if v:GetModel()!=nil then
v:SetColor(Color(0,0,0,255))
end
end
end
concommand.Add("color", ClientColor)
[/code]
Sorry how exactly does it revert? It looks like you're setting it to Color(0,0,0,225) anyways.
[QUOTE=RealDope;48106178]Sorry how exactly does it revert? It looks like you're setting it to Color(0,0,0,225) anyways.[/QUOTE]
Typo
It reverts back to entity's original color so in this case, Color(255,255,255).
If a prop is stationary, then its color won't change back to Color(255,255,255) so I'm thinking it could be a bug.
Can anyone confirm?
Sorry, you need to Log In to post a reply to this thread.