Jump to content

Set Color to Gui images


Deltanic

Recommended Posts

  • Discord Moderators

Not as far as I'm aware.

If the image isn't too big, you can compress a grey scale edition and use it combined with onClientMouseEnter attached to your grey image.

Draw the coloured image on the same X Y as the grey scale one, and now add an event onClientMouseLeave for the coloured one, to show the grey one.

Edited by Guest
Link to comment
Not as far as I'm aware.

If the image isn't too big, you can compress a grey scale edition and use it combined with onClientMouseEnter attached to your grey image.

Draw the coloured image on the same X Y as the grey scale one, and now add an event onClientMouseLeave for the coloured one, to show the grey one.

Using guiStaticImageLoadImage has a high risk of client crashing, so I'm not going to use that. Too bad there isn't a property for it, so I'll use what I already got: Alpha effects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...