Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GmodLogo, TempGmodLogo, GmodLogoColor = surface.GetTextureID("gui/gmod_logo"), surface.GetTextureID("gui/gmod_logo"), Color(255, 255, 255, 255)
- function FAdmin.ScoreBoard.ChangeGmodLogo(new)
- if surface.GetTextureID(new) == TempGmodLogo then return end
- TempGmodLogo = surface.GetTextureID(new)
- for i = 0, 0.5, 0.01 do
- timer.Simple(i, function() GmodLogoColor = Color(255,255,255,GmodLogoColor.a-5.1) end)
- end
- timer.Simple(0.5, function() GmodLogo = surface.GetTextureID(new) end)
- for i = 0.5, 1, 0.01 do
- timer.Simple(i, function()
- GmodLogoColor = Color(255, 255, 255, GmodLogoColor.a + 5.1)
- end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement